From ada2a555dce33692ee40b3fb81c93dbe276e73cd Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 15 Feb 2012 23:58:28 -0800 Subject: [PATCH] sql typo in auto-friend with D* --- include/auth.php | 2 +- include/diaspora.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]), -- 2.39.5