|
@@ -703,6 +703,7 @@ class Base
|
|
if (!empty($where)) {
|
|
if (!empty($where)) {
|
|
$whereArray = array();
|
|
$whereArray = array();
|
|
foreach ($where AS $k => $v) {
|
|
foreach ($where AS $k => $v) {
|
|
|
|
+ $v = $this->setQuote($v);
|
|
if(stristr($k, '.')) {
|
|
if(stristr($k, '.')) {
|
|
$whereArray[] = " {$k} = '{$v}'";
|
|
$whereArray[] = " {$k} = '{$v}'";
|
|
}else{
|
|
}else{
|