改名
This commit is contained in:
@@ -87,7 +87,7 @@ trait Condition
|
|||||||
} else if (!is_numeric($key)) {
|
} else if (!is_numeric($key)) {
|
||||||
$value = $key . '=' . $this->valueEncode($value);
|
$value = $key . '=' . $this->valueEncode($value);
|
||||||
}
|
}
|
||||||
if (empty($value)) {
|
if ($value === null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$_tmp[] = $value;
|
$_tmp[] = $value;
|
||||||
@@ -192,7 +192,7 @@ trait Condition
|
|||||||
* @param bool $isSearch
|
* @param bool $isSearch
|
||||||
* @return int|string
|
* @return int|string
|
||||||
*/
|
*/
|
||||||
public function valueEncode($value, $isSearch = false)
|
public function valueEncode($value, $isSearch = false)
|
||||||
{
|
{
|
||||||
if ($isSearch) {
|
if ($isSearch) {
|
||||||
return $value;
|
return $value;
|
||||||
|
|||||||
Reference in New Issue
Block a user