From ff4eca94c23771f06abb47d94e7484857d4b20e8 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 26 Feb 2015 09:35:34 +0800 Subject: [PATCH] * fix a bug. --- module/task/control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/task/control.php b/module/task/control.php index f99ab111a5..2f012c27bf 100644 --- a/module/task/control.php +++ b/module/task/control.php @@ -1100,6 +1100,7 @@ class task extends control /* Set related files. */ if(isset($relatedFiles[$task->id])) { + $task->files = ''; foreach($relatedFiles[$task->id] as $file) { $fileURL = 'http://' . $this->server->http_host . $this->config->webRoot . "data/upload/{$this->app->company->id}/" . $file->pathname;