From 4f4ddb3e5f114229ad9a3adbef8c75bc627c927e Mon Sep 17 00:00:00 2001 From: chenfeiCF Date: Mon, 14 Mar 2016 06:09:14 +0800 Subject: [PATCH] * if task is from bug, setImgSize for bug steps. --- module/task/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/task/control.php b/module/task/control.php index e87ce474d4..09b3262dd4 100644 --- a/module/task/control.php +++ b/module/task/control.php @@ -447,7 +447,7 @@ class task extends control $task->bugSteps = ''; if($bug) { - $task->bugSteps = $bug->steps; + $task->bugSteps = $this->loadModel('file')->setImgSize($bug->steps); foreach($bug->files as $file) $task->files[] = $file; } $this->view->fromBug = $bug;