diff options
Diffstat (limited to 'lib/schema.php')
-rw-r--r-- | lib/schema.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/schema.php b/lib/schema.php index 391f0f1fd..6e9643b67 100644 --- a/lib/schema.php +++ b/lib/schema.php @@ -653,11 +653,7 @@ class Schema function quoteValue($val) { - if (is_int($val) || is_float($val) || is_double($val)) { - return strval($val); - } else { - return '"' . $this->conn->escapeSimple($val) . '"'; - } + return $this->conn->quoteSmart($val); } /** |