mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:02:54 +00:00
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];
|
||||
|
||||
$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']),
|
||||
dbesc($guid)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue