Browse Source

sql typo in auto-friend with D*

pull/37/head
friendica 9 years ago
parent
commit
ada2a555dc
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      include/auth.php
  2. +1
    -1
      include/diaspora.php

+ 1
- 1
include/auth.php 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());
}


+ 1
- 1
include/diaspora.php 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]),


Loading…
Cancel
Save