]> git.mxchange.org Git - friendica.git/commitdiff
fix events
authorfriendica <info@friendica.com>
Wed, 19 Sep 2012 07:44:37 +0000 (00:44 -0700)
committerfriendica <info@friendica.com>
Wed, 19 Sep 2012 07:44:37 +0000 (00:44 -0700)
mod/events.php

index a43a1c8f8240e9a20775b79d4f19d6894d9e8eb6..527e1ec3fdec8e71ff268e07e63539e7543d9f1e 100755 (executable)
@@ -249,7 +249,7 @@ function events_content(&$a) {
                } else {
                        $r = q("SELECT `event`.*, `item`.`id` AS `itemid`,`item`.`plink`,
                                `item`.`author-name`, `item`.`author-avatar`, `item`.`author-link` FROM `event` LEFT JOIN `item` ON `item`.`event-id` = `event`.`id` 
-                               WHERE `event`.`uid` = %d and ignore = %d
+                               WHERE `event`.`uid` = %d and event.ignore = %d
                                AND (( `adjust` = 0 AND `finish` >= '%s' AND `start` <= '%s' ) 
                                OR  (  `adjust` = 1 AND `finish` >= '%s' AND `start` <= '%s' )) ",
                                intval(local_user()),