* adjust bug for flow.
This commit is contained in:
@@ -103,7 +103,7 @@ class model extends baseModel
|
||||
if($action->extensionType == 'override') return $this->loadModel('flow')->buildActionMenu($moduleName, $action, $data, $type);
|
||||
|
||||
$conditions = json_decode($action->conditions);
|
||||
if($action->extensionType == 'extend')
|
||||
if($conditions and $action->extensionType == 'extend')
|
||||
{
|
||||
if($icon != 'copy' and $methodName != 'create') $title = $action->name;
|
||||
if($conditions) $enabled = $this->loadModel('flow')->checkConditions($conditions, $data);
|
||||
|
||||
Reference in New Issue
Block a user