From 6884b949b012a950b8221df7e7bf4db8fb75ace4 Mon Sep 17 00:00:00 2001 From: zhengrunyu Date: Wed, 1 Dec 2021 10:36:12 +0800 Subject: [PATCH] *Finish task #45150. --- module/execution/model.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module/execution/model.php b/module/execution/model.php index a43efb6df4..1b69ecc997 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -708,8 +708,8 @@ class executionModel extends model */ public function start($executionID) { - $oldExecution = $this->getById($executionID); - $now = helper::now(); + $oldExecution = $this->getById($executionID); + $now = helper::now(); $execution = fixer::input('post') ->setDefault('status', 'doing') @@ -861,8 +861,8 @@ class executionModel extends model */ public function close($executionID) { - $oldExecution = $this->getById($executionID); - $now = helper::now(); + $oldExecution = $this->getById($executionID); + $now = helper::now(); $execution = fixer::input('post') ->setDefault('status', 'closed')