- 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user