application/modules/Public/controllers/Data.php
@@ -10,7 +10,8 @@ */ public function DailyAction(){ $daily_service = new Service_Daily(); $day = $this->get('day', date('Y-m-d')); $day = $this->get('day', date('Y-m-d', strtotime("-1 day"))); echo $day; $dailyLog_service = new Service_DailyLog(); if(strtotime($day) <= strtotime(date('Y-m-d', time()))){ if(!$dailyLog_service->isSummary($day)){