|
@@ -1180,7 +1180,7 @@ class Base
|
|
|
if(stristr($index, ':between') !== false) {
|
|
|
if(is_array($val)) {
|
|
|
$val = $this->setQuote($val);
|
|
|
- $val = "'". join("' and '", $val) ."'";
|
|
|
+ $val = [$index => "'". join("' and '", $val) ."'"];
|
|
|
}
|
|
|
}
|
|
|
if(is_array($val)) {
|
|
@@ -1202,6 +1202,7 @@ class Base
|
|
|
else if($count - 1 == $index)
|
|
|
{
|
|
|
$tmpWhere[$index] = $val;
|
|
|
+ print_r($tmpWhere);
|
|
|
$slices[] = array_values($tmpWhere);
|
|
|
$tmpWhere = array();
|
|
|
}
|