summaryrefslogtreecommitdiff
path: root/idiorm.php
diff options
context:
space:
mode:
authorJamie Matthews <[email protected]>2010-10-25 18:45:00 +0100
committerJamie Matthews <[email protected]>2010-10-25 18:45:00 +0100
commitf2bc5aa33704b3d7f17ab905b8abfb0ec43dd76a (patch)
treeb6bf79451a62412d0022cac3dd4666e9ad5e5475 /idiorm.php
parente305fcaf7446818c7ddd498ca950b0d4fd595570 (diff)
Add test and fix implementation of table aliases
Diffstat (limited to 'idiorm.php')
-rw-r--r--idiorm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/idiorm.php b/idiorm.php
index 4ac01f8..45c8abe 100644
--- a/idiorm.php
+++ b/idiorm.php
@@ -428,7 +428,7 @@
// Add table alias if present
if (!is_null($table_alias)) {
$table_alias = $this->_quote_identifier($table_alias);
- $table .= " AS {$table_alias}";
+ $table .= " {$table_alias}";
}
// Build the constraint