From 79b9de203dc9a3a8addb626e6202a9d319eb6cde Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Mon, 16 Apr 2012 18:38:48 -0400 Subject: [PATCH] -Better attempt at getting at least 3 items --- airtime_mvc/application/models/Schedule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/models/Schedule.php b/airtime_mvc/application/models/Schedule.php index 803cc0d2b..4f5983a35 100644 --- a/airtime_mvc/application/models/Schedule.php +++ b/airtime_mvc/application/models/Schedule.php @@ -446,7 +446,7 @@ class Application_Model_Schedule { Logging::debug("Get Schedule: Less than 3 results returned. Do another query in an attempt to get 3."); $dt = new DateTime("@".time()); - $dt->add(new DateInterval("PT30M")); + $dt->add(new DateInterval("PT24H")); $range_end = $dt->format("Y-m-d H:i:s"); $predicates = " WHERE st.ends > '$p_startTime'"