aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-28 21:32:49 -0700
committerfriendica <info@friendica.com>2012-06-28 21:32:49 -0700
commit43036bee98ffddbd396379f12a3ca87b9da461a7 (patch)
tree6a09b0b87251e11054db93bd99af9f59fb1d09d0 /include/items.php
parent0ecba605030dfa8a69e7c0483732b17cd5c3c0a2 (diff)
downloadvolse-hubzilla-43036bee98ffddbd396379f12a3ca87b9da461a7.tar.gz
volse-hubzilla-43036bee98ffddbd396379f12a3ca87b9da461a7.tar.bz2
volse-hubzilla-43036bee98ffddbd396379f12a3ca87b9da461a7.zip
wrong column name (- vs _)
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 74ffc2f84..f5821961b 100755
--- a/include/items.php
+++ b/include/items.php
@@ -1730,7 +1730,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $pass = 0)
$datarray['type'] = 'activity';
$datarray['gravity'] = GRAVITY_LIKE;
// only one like or dislike per person
- $r = q("select id from item where uid = %d and `contact-id` = %d and verb ='%s' and deleted = 0 and (`parent-uri` = '%s' OR `thr_parent` = '%s') limit 1",
+ $r = q("select id from item where uid = %d and `contact-id` = %d and verb ='%s' and deleted = 0 and (`parent-uri` = '%s' OR `thr-parent` = '%s') limit 1",
intval($datarray['uid']),
intval($datarray['contact-id']),
dbesc($datarray['verb']),