]> git.mxchange.org Git - friendica.git/commitdiff
sql typo in auto-friend with D*
authorfriendica <info@friendica.com>
Thu, 16 Feb 2012 07:58:28 +0000 (23:58 -0800)
committerfriendica <info@friendica.com>
Thu, 16 Feb 2012 07:58:28 +0000 (23:58 -0800)
include/auth.php
include/diaspora.php

index fd1c638473526d29f87ac5ed34174ee494d19932..fc52684e64b183d8a20dd746317e0d9ef49032f9 100755 (executable)
@@ -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());
                }
index 2a4c8b9da4b9c3f03204d07315ffc67d760aba02..ba0112362761b467a0b7d3dac145fe3abf806553 100755 (executable)
@@ -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]),