From a0b4b13be809a738abe7ade1acee1718a05077d2 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Sun, 1 Aug 2010 21:14:57 -0400 Subject: [PATCH] Don't use AS for table aliases (Bug #9151) --- framework/Rdo/lib/Horde/Rdo/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Rdo/lib/Horde/Rdo/Query.php b/framework/Rdo/lib/Horde/Rdo/Query.php index 26f6502d5..4eea2f77b 100644 --- a/framework/Rdo/lib/Horde/Rdo/Query.php +++ b/framework/Rdo/lib/Horde/Rdo/Query.php @@ -367,7 +367,7 @@ class Horde_Rdo_Query } } - $sql .= ' ' . $relationship['join_type'] . ' ' . $relationship['table'] . ' AS ' . $tableAlias . ' ON ' . implode(' AND ', $relsql); + $sql .= ' ' . $relationship['join_type'] . ' ' . $relationship['table'] . ' ' . $tableAlias . ' ON ' . implode(' AND ', $relsql); } } -- 2.11.0