aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-15 23:58:28 -0800
committerfriendica <info@friendica.com>2012-02-15 23:58:28 -0800
commitada2a555dce33692ee40b3fb81c93dbe276e73cd (patch)
tree79aa1fc44763ad1ccff45a0b7680e38a3b7c5dd0 /include
parentd8b82b24a479902c0ba142f8eb317e5ab6ba5d3c (diff)
downloadvolse-hubzilla-ada2a555dce33692ee40b3fb81c93dbe276e73cd.tar.gz
volse-hubzilla-ada2a555dce33692ee40b3fb81c93dbe276e73cd.tar.bz2
volse-hubzilla-ada2a555dce33692ee40b3fb81c93dbe276e73cd.zip
sql typo in auto-friend with D*
Diffstat (limited to 'include')
-rwxr-xr-xinclude/auth.php2
-rwxr-xr-xinclude/diaspora.php2
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]),