diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-18 18:16:07 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-18 18:16:07 -0700 |
commit | d3f8a880a91c134ae2aefc18efc47923bccf3fd2 (patch) | |
tree | 563e207ceee4a24e10ee44557022bf12b7718880 /lib/schema.php | |
parent | b865ded7ffca54534dac858f20eada3882af9d04 (diff) |
Fix misnamed unique constraint
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); } /** |