From: Chuck Hagenbuch Date: Mon, 2 Aug 2010 01:14:57 +0000 (-0400) Subject: Don't use AS for table aliases (Bug #9151) X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a0b4b13be809a738abe7ade1acee1718a05077d2;p=horde.git Don't use AS for table aliases (Bug #9151) --- 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); } }