From 1b445d511b729d114439935c1315f1f1ead7e1b2 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 16 Feb 2012 00:08:38 -0800 Subject: [PATCH] another sql typo --- include/diaspora.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }