From dcddc32f77d1ede57e39c11e90f666a78780b4c9 Mon Sep 17 00:00:00 2001 From: Jamie Matthews Date: Sun, 30 Jan 2011 15:38:23 +0000 Subject: Issue #12: Fix incorrect quoting of column wildcard. Thanks pewterfish. --- idiorm.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'idiorm.php') diff --git a/idiorm.php b/idiorm.php index 48f5ccc..4d454cb 100644 --- a/idiorm.php +++ b/idiorm.php @@ -903,6 +903,9 @@ * character specified in the config (or autodetected). */ protected function _quote_identifier_part($part) { + if ($part === '*') { + return $part; + } $quote_character = self::$_config['identifier_quote_character']; return $quote_character . $part . $quote_character; } -- cgit v1.2.3