summaryrefslogtreecommitdiff
path: root/idiorm.php
diff options
context:
space:
mode:
authorJamie Matthews <[email protected]>2011-01-30 15:38:23 +0000
committerJamie Matthews <[email protected]>2011-01-30 15:38:23 +0000
commitdcddc32f77d1ede57e39c11e90f666a78780b4c9 (patch)
tree27fb57fc89a61f0938fa3ac0624ca9b3ecd924cc /idiorm.php
parent1f9d6bfda478dcf262ce3f35c5edbbb035944b65 (diff)
Issue #12: Fix incorrect quoting of column wildcard. Thanks pewterfish.
Diffstat (limited to 'idiorm.php')
-rw-r--r--idiorm.php3
1 files changed, 3 insertions, 0 deletions
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;
}