mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 16:52:16 +09:00
Prepared statements - if argument is not given as array (eg. for IN clauses) even though it should be, convert it to an array.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8633 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b3c75ac4db
commit
39c2c004c2
6 changed files with 118 additions and 185 deletions
|
|
@ -64,6 +64,7 @@
|
|||
function show(){
|
||||
if($this->hasArgument() && !$this->argument->isValid()) return false;
|
||||
if($this->hasArgument() && ($this->_value === '\'\'')) return false;
|
||||
if(is_array($this->_value) && count($this->_value) === 1 && $this->_value[0] === '') return false;
|
||||
switch($this->operation) {
|
||||
case 'equal' :
|
||||
case 'more' :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue