]> git.mxchange.org Git - friendica.git/commitdiff
sql fix - this should work a bit better
authorfriendica <info@friendica.com>
Sun, 15 Jul 2012 03:38:30 +0000 (20:38 -0700)
committerfriendica <info@friendica.com>
Sun, 15 Jul 2012 03:38:30 +0000 (20:38 -0700)
mod/profile.php

index cc333d36ec30f49d41c9586d3764576c931d86f6..a3e25b76a119324c1fd5e18b379cab4f83035861 100644 (file)
@@ -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