From: friendica Date: Sun, 15 Jul 2012 03:38:30 +0000 (-0700) Subject: sql fix - this should work a bit better X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8767eedaac61d8d8d61559799e2c0267c9f5a7ef;p=friendica.git sql fix - this should work a bit better --- diff --git a/mod/profile.php b/mod/profile.php index cc333d36ec..a3e25b76a1 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -206,7 +206,6 @@ function profile_content(&$a, $update = 0) { FROM `item` LEFT JOIN `contact` ON `contact`.`id` = `item`.`contact-id` WHERE `item`.`uid` = %d AND `item`.`visible` = 1 AND (`item`.`deleted` = 0 OR item.verb = '" . ACTIVITY_LIKE ."' OR item.verb = '" . ACTIVITY_DISLIKE . "') - AND `item`.`deleted` = 0 and `item`.`moderated` = 0 and `item`.`unseen` = 1 AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 AND `item`.`wall` = 1