]> git.mxchange.org Git - friendica.git/commitdiff
set encryption vars to empty when contact not found
authorFriendika <info@friendika.com>
Fri, 10 Dec 2010 22:21:33 +0000 (14:21 -0800)
committerFriendika <info@friendika.com>
Fri, 10 Dec 2010 22:21:33 +0000 (14:21 -0800)
mod/dfrn_poll.php

index 20fdc8f79c0159ea79759ed206e025961c8347e9..a8c27efc17e32c0077a41a889622f48fb9e1bfe4 100644 (file)
@@ -353,6 +353,8 @@ function dfrn_poll_content(&$a) {
                }
                else {
                        $status = 1;
+                       $challenge = '';
+                       $encrypted_id = '';
                }
 
                if(($type === 'profile') && (strlen($sec))) {