diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Model/ProjectDailySummary.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/ProjectDailySummary.php b/app/Model/ProjectDailySummary.php index 1e28832e..0ed3c02b 100644 --- a/app/Model/ProjectDailySummary.php +++ b/app/Model/ProjectDailySummary.php @@ -76,7 +76,7 @@ class ProjectDailySummary extends Base array($from, $to, $project_id) ); - return $rq->fetchColumn(0); + return $rq !== false ? $rq->fetchColumn(0) : 0; } /** |