tweak for strings
This commit is contained in:
parent
7723d15cd0
commit
9cb42c8e45
@ -600,7 +600,11 @@ class Schema
|
||||
|
||||
function quoteValue($val)
|
||||
{
|
||||
return $this->conn->escapeSimple($val); // ??
|
||||
if (is_int($val) || is_float($val) || is_double($val)) {
|
||||
return strval($val);
|
||||
} else {
|
||||
return '"' . $this->conn->escapeSimple($val) . '"';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user