another sql typo

This commit is contained in:
friendica 2012-02-16 00:08:38 -08:00
parent ada2a555dc
commit 1b445d511b

View file

@ -611,7 +611,7 @@ function diaspora_request($importer,$xml) {
intval($contact_record['id']) 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) if($u)
$ret = diaspora_share($u[0],$contact_record); $ret = diaspora_share($u[0],$contact_record);
} }