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) {