From: friendica Date: Fri, 29 Jun 2012 04:32:49 +0000 (-0700) Subject: wrong column name (- vs _) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=43036bee98ffddbd396379f12a3ca87b9da461a7;p=friendica.git wrong column name (- vs _) --- diff --git a/include/items.php b/include/items.php index 74ffc2f840..f5821961b0 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']),