From 90925789d96a7bd437af8b55b2f747873783454c Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 30 Jan 2015 16:31:18 +0000 Subject: [PATCH] change field name --- application/module/Westdc/Visual/Handle/VisualHandle.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/module/Westdc/Visual/Handle/VisualHandle.php b/application/module/Westdc/Visual/Handle/VisualHandle.php index ed1618ca..7f8b218e 100644 --- a/application/module/Westdc/Visual/Handle/VisualHandle.php +++ b/application/module/Westdc/Visual/Handle/VisualHandle.php @@ -42,10 +42,10 @@ class VisualHandle extends \Westdc\Visual\VariableEncoder foreach($data['variable'] as $k=>$v) { - if(isset($v['filter'])) + if(isset($v['condition'])) { - if(preg_match("/;/",$v['filter'])) - $data['vars'][$k]['filter'] = explode(";",$v['filter']); + if(preg_match("/;/",$v['condition'])) + $data['variable'][$k]['condition'] = explode(";",$v['condition']); } }