aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-20 18:05:05 -0700
committerFriendika <info@friendika.com>2011-08-20 18:05:05 -0700
commitf5c0443b91b7be1d75b19f72a30dc01041cf157c (patch)
treec8d18af608820980d9cbfe1be7135bd8204758e0 /include/diaspora.php
parentc6a05443f7baa92f3e1716d0229fbb3f1f9aa556 (diff)
downloadvolse-hubzilla-f5c0443b91b7be1d75b19f72a30dc01041cf157c.tar.gz
volse-hubzilla-f5c0443b91b7be1d75b19f72a30dc01041cf157c.tar.bz2
volse-hubzilla-f5c0443b91b7be1d75b19f72a30dc01041cf157c.zip
sql syntax
Diffstat (limited to 'include/diaspora.php')
-rw-r--r--include/diaspora.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index e943ea086..44b97400b 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -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)
);