fixed bug in visual vars submit handle
This commit is contained in:
parent
bc16052e53
commit
aa365e0a59
|
@ -42,8 +42,11 @@ class VisualHandle extends \Westdc\Visual\VariableEncoder
|
|||
|
||||
foreach($data['vars'] as $k=>$v)
|
||||
{
|
||||
if(preg_match("/;/",$v['filter']))
|
||||
$data['vars'][$k]['filter'] = explode(";",$v['filter']);
|
||||
if(isset($v['filter']))
|
||||
{
|
||||
if(preg_match("/;/",$v['filter']))
|
||||
$data['vars'][$k]['filter'] = explode(";",$v['filter']);
|
||||
}
|
||||
}
|
||||
|
||||
$data['vars'] = $this->encode($data['vars']);
|
||||
|
|
Loading…
Reference in New Issue