1
1
Fork 0

sql syntax

This commit is contained in:
Friendika 2011-08-20 18:05:05 -07:00
parent c6a05443f7
commit f5c0443b91

View file

@ -634,7 +634,7 @@ function diaspora_like($importer,$xml,$msg) {
$parent_item = $r[0]; $parent_item = $r[0];
$r = q("SELECT * FROM `item` WHERE `uid` = %d AND `guid` = '$s' LIMIT 1", $r = q("SELECT * FROM `item` WHERE `uid` = %d AND `guid` = '%s' LIMIT 1",
intval($importer['uid']), intval($importer['uid']),
dbesc($guid) dbesc($guid)
); );