]> git.mxchange.org Git - friendica.git/commitdiff
wrong column name (- vs _)
authorfriendica <info@friendica.com>
Fri, 29 Jun 2012 04:32:49 +0000 (21:32 -0700)
committerfriendica <info@friendica.com>
Fri, 29 Jun 2012 04:32:49 +0000 (21:32 -0700)
include/items.php

index 74ffc2f8400925b764d06c3145ce44b81dc799be..f5821961b001022c92f5a9022ac2cf727f4f4f76 100755 (executable)
@@ -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']),