This commit is contained in:
2020-10-30 02:03:23 +08:00
parent b8dc336ad0
commit c61f2c8f71
+1 -1
View File
@@ -72,7 +72,7 @@ abstract class Condition extends BaseObject
return '';
}
$value = Str::encode($value);
$value = Str::encode((string)$value);
if (trim($oprea) == 'like') {
return $column . ' ' . $oprea . ' \'%' . $value . '%\'';
}