Issue 2064: Do not show conditions with not supported operations

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10777 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2012-06-18 12:09:52 +00:00
parent 40a2d4a6ed
commit 9846eb7375

View file

@ -129,6 +129,9 @@
case 'between' :
if(!is_array($this->_value)) { $this->_show = false; break;}
if(count($this->_value)!=2) {$this->_show = false; break;}
default:
// If operation is not one of the above, means the condition is invalid
$this->_show = false;
}
}
}