From d3f8a880a91c134ae2aefc18efc47923bccf3fd2 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 18 Oct 2010 18:16:07 -0700 Subject: Fix misnamed unique constraint --- lib/schema.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/schema.php') 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); } /** -- cgit v1.2.3-54-g00ecf