]> git.mxchange.org Git - friendica.git/commitdiff
another sql typo
authorfriendica <info@friendica.com>
Thu, 16 Feb 2012 08:08:38 +0000 (00:08 -0800)
committerfriendica <info@friendica.com>
Thu, 16 Feb 2012 08:08:38 +0000 (00:08 -0800)
include/diaspora.php

index ba0112362761b467a0b7d3dac145fe3abf806553..a116e6a44766156c6a3e7cafd55106775c640a5d 100755 (executable)
@@ -611,7 +611,7 @@ function diaspora_request($importer,$xml) {
                        intval($contact_record['id'])
                );
 
-               $u = q("select * from user where id = %d limit 1",intval($importer['uid']));
+               $u = q("select * from user where uid = %d limit 1",intval($importer['uid']));
                if($u)
                        $ret = diaspora_share($u[0],$contact_record);
        }