From fde47bebb6b2cd8a488552f74de6edf3fc54512c Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Tue, 14 Dec 2021 16:56:59 +0800 Subject: [PATCH] * Fix bug#17516. --- module/action/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/action/model.php b/module/action/model.php index 4d8a439818..d4a510b2ad 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -287,8 +287,8 @@ class actionModel extends model $record['execution'] = zget($result, 'execution', 0); } - if($actionType == 'unlinkedfromproject' or $actionType == 'linked2project') $record->project = (int)$extra ; - if($actionType == 'unlinkedfromexecution' or $actionType == 'linked2execution') $record->execution = (int)$extra; + if($actionType == 'unlinkedfromproject' or $actionType == 'linked2project') $record['project'] = (int)$extra ; + if($actionType == 'unlinkedfromexecution' or $actionType == 'linked2execution') $record['execution'] = (int)$extra; if($record) {