diff options
-rwxr-xr-x | include/auth.php | 2 | ||||
-rwxr-xr-x | include/diaspora.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/auth.php b/include/auth.php index fd1c63847..fc52684e6 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 2a4c8b9da..ba0112362 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]), |