diff --git a/db/zentao.sql b/db/zentao.sql index 21c642ba49..745c879676 100644 --- a/db/zentao.sql +++ b/db/zentao.sql @@ -607,6 +607,7 @@ CREATE TABLE IF NOT EXISTS `zt_testtask` ( `pri` tinyint(3) unsigned NOT NULL default '0', `begin` date NOT NULL, `end` date NOT NULL, + `mailto` varchar(255) NOT NULL default '', `desc` text NOT NULL, `report` text NOT NULL, `status` enum('blocked','doing','wait','done') NOT NULL DEFAULT 'wait', diff --git a/module/report/control.php b/module/report/control.php index 9f1a5b69ee..504654cdab 100644 --- a/module/report/control.php +++ b/module/report/control.php @@ -158,6 +158,7 @@ class report extends control */ public function remind() { + $bugs = $tasks = $todos = $testTasks = array(); if($this->config->report->dailyreminder->bug) $bugs = $this->report->getUserBugs(); if($this->config->report->dailyreminder->task) $tasks = $this->report->getUserTasks(); if($this->config->report->dailyreminder->todo) $todos = $this->report->getUserTodos();