X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/1ca0df080b44b700872bec9216d8405b1f90bc11..8f1159deac6c05f4d864cd140d9c66f007601e7e:/WEB-INF/lib/ttTimeHelper.class.php?ds=sidebyside diff --git a/WEB-INF/lib/ttTimeHelper.class.php b/WEB-INF/lib/ttTimeHelper.class.php index a8bde987..70844eeb 100644 --- a/WEB-INF/lib/ttTimeHelper.class.php +++ b/WEB-INF/lib/ttTimeHelper.class.php @@ -567,7 +567,7 @@ class ttTimeHelper { $val = $res->fetchRow(); return sec_to_time_fmt_hm($val['sm']); } - return 0; + return false; } // getTimeForMonth - gets total time for a user for a given month. @@ -582,7 +582,7 @@ class ttTimeHelper { $val = $res->fetchRow(); return sec_to_time_fmt_hm($val['sm']); } - return 0; + return false; } // getUncompleted - retrieves an uncompleted record for user, if one exists.