Merge branch 'master' of github.com:easysoft/zentaopms

This commit is contained in:
wangyidong
2019-02-22 10:36:54 +08:00
4 changed files with 65 additions and 5 deletions
+1 -1
View File
@@ -385,7 +385,7 @@ class bugModel extends model
// Delayed or not?.
if($bug->deadline != '0000-00-00')
{
if(substr($bug->resolvedDate, 0, 10) != '0000-00-00')
if($bug->resolvedDate and substr($bug->resolvedDate, 0, 10) != '0000-00-00')
{
$delay = helper::diffDate(substr($bug->resolvedDate, 0, 10), $bug->deadline);
}