mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 17:32:15 +09:00
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:
parent
40a2d4a6ed
commit
9846eb7375
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue