From: friendica Date: Thu, 16 Feb 2012 08:08:38 +0000 (-0800) Subject: another sql typo X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1b445d511b729d114439935c1315f1f1ead7e1b2;p=friendica.git another sql typo --- diff --git a/include/diaspora.php b/include/diaspora.php index ba01123627..a116e6a447 100755 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -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); }