sql typo in auto-friend with D*

pull/37/head
friendica 2012-02-15 23:58:28 -08:00
parent d8b82b24a4
commit ada2a555dc
2 changed files with 2 additions and 2 deletions

View File

@ -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());
}

View File

@ -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]),