fixed bug in visual vars submit handle
This commit is contained in:
parent
bc16052e53
commit
aa365e0a59
|
@ -41,10 +41,13 @@ class VisualHandle extends \Westdc\Visual\VariableEncoder
|
|||
$data = $e->getParam('data');
|
||||
|
||||
foreach($data['vars'] as $k=>$v)
|
||||
{
|
||||
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