sql typo in auto-friend with D*
This commit is contained in:
parent
d8b82b24a4
commit
ada2a555dc
2 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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]),
|
||||
|
|
Loading…
Reference in a new issue