set encryption vars to empty when contact not found

This commit is contained in:
Friendika 2010-12-10 14:21:33 -08:00
parent f027e7e920
commit e70551eeec

View file

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