change field name

This commit is contained in:
wlx 2015-01-30 16:31:18 +00:00
parent 8d42fc9302
commit 90925789d9
1 changed files with 3 additions and 3 deletions

View File

@ -42,10 +42,10 @@ class VisualHandle extends \Westdc\Visual\VariableEncoder
foreach($data['variable'] as $k=>$v) foreach($data['variable'] as $k=>$v)
{ {
if(isset($v['filter'])) if(isset($v['condition']))
{ {
if(preg_match("/;/",$v['filter'])) if(preg_match("/;/",$v['condition']))
$data['vars'][$k]['filter'] = explode(";",$v['filter']); $data['variable'][$k]['condition'] = explode(";",$v['condition']);
} }
} }