From: friendica Date: Thu, 16 Feb 2012 07:58:28 +0000 (-0800) Subject: sql typo in auto-friend with D* X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ada2a555dce33692ee40b3fb81c93dbe276e73cd;p=friendica.git sql typo in auto-friend with D* --- diff --git a/include/auth.php b/include/auth.php index fd1c638473..fc52684e64 100755 --- a/include/auth.php +++ b/include/auth.php @@ -165,7 +165,7 @@ else { } if((! $record) || (! count($record))) { - logger('authenticate: failed login attempt: ' . trim($_POST['username'])); + logger('authenticate: failed login attempt: ' . notags(trim($_POST['username']))); notice( t('Login failed.') . EOL ); goaway(z_root()); } diff --git a/include/diaspora.php b/include/diaspora.php index 2a4c8b9da4..ba01123627 100755 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -598,7 +598,7 @@ function diaspora_request($importer,$xml) { `uri-date` = '%s', `avatar-date` = '%s', `blocked` = 0, - `pending` = 0, + `pending` = 0 WHERE `id` = %d LIMIT 1 ", dbesc($photos[0]),