* Can not use vision field of zt_action table when upgrade.
This commit is contained in:
@@ -48,7 +48,7 @@ class actionModel extends model
|
||||
$action->action = $actionType;
|
||||
$action->date = helper::now();
|
||||
$action->extra = $extra;
|
||||
$action->vision = $this->config->vision;
|
||||
if(!defined('IN_UPGRADE')) $action->vision = $this->config->vision;
|
||||
|
||||
if($objectType == 'story' and strpos(',reviewpassed,reviewrejected,reviewclarified,', ",$actionType,") !== false) $action->actor = $this->lang->action->system;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user