sql syntax
This commit is contained in:
parent
c6a05443f7
commit
f5c0443b91
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue