Browse Source

sql typo in auto-friend with D*

pull/37/head
friendica 10 years ago
parent
commit
ada2a555dc
  1. 2
      include/auth.php
  2. 2
      include/diaspora.php

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

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

Loading…
Cancel
Save