diff options
author | friendica <info@friendica.com> | 2012-06-28 21:32:49 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-28 21:32:49 -0700 |
commit | 43036bee98ffddbd396379f12a3ca87b9da461a7 (patch) | |
tree | 6a09b0b87251e11054db93bd99af9f59fb1d09d0 | |
parent | 0ecba605030dfa8a69e7c0483732b17cd5c3c0a2 (diff) | |
download | volse-hubzilla-43036bee98ffddbd396379f12a3ca87b9da461a7.tar.gz volse-hubzilla-43036bee98ffddbd396379f12a3ca87b9da461a7.tar.bz2 volse-hubzilla-43036bee98ffddbd396379f12a3ca87b9da461a7.zip |
wrong column name (- vs _)
-rwxr-xr-x | include/items.php | 2 |
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']), |