From f0e299a97a8c46fd66bbc47e5b84d4b76d763154 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 24 Aug 2012 01:57:36 -0700 Subject: begin debug zentity --- mod/ping.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/ping.php') diff --git a/mod/ping.php b/mod/ping.php index 1bf0a8840..eb7c9b946 100644 --- a/mod/ping.php +++ b/mod/ping.php @@ -158,7 +158,7 @@ function ping_init(&$a) { $t5 = dba_timer(); $events = q("SELECT count(`event`.`id`) as total, type, start, adjust FROM `event` - WHERE `event`.`uid` = %d AND `start` < '%s' AND `finish` > '%s' and ignore = 0 + WHERE `event`.`uid` = %d AND `start` < '%s' AND `finish` > '%s' and `ignore` = 0 ORDER BY `start` ASC ", intval(local_user()), dbesc(datetime_convert('UTC','UTC','now + 7 days')), -- cgit v1.2.3