- baseDAO: convert numbers to strings because the deleted field is declared as an enum type but used as a number type.

This commit is contained in:
liugang
2023-05-23 14:36:13 +08:00
parent fc1dcc5d72
commit 5a296edf82
-1
View File
@@ -2320,7 +2320,6 @@ class baseSQL
public function quote($value)
{
if(is_null($value)) return 'NULL';
if(is_int($value) || is_float($value)) return $value;
if($this->magicQuote) $value = stripslashes($value);
return $this->dbh->quote((string)$value);