projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a784450
)
Don't use AS for table aliases (Bug #9151)
author
Chuck Hagenbuch
<chuck@horde.org>
Mon, 2 Aug 2010 01:14:57 +0000
(21:14 -0400)
committer
Chuck Hagenbuch
<chuck@horde.org>
Mon, 2 Aug 2010 01:14:57 +0000
(21:14 -0400)
framework/Rdo/lib/Horde/Rdo/Query.php
patch
|
blob
|
history
diff --git
a/framework/Rdo/lib/Horde/Rdo/Query.php
b/framework/Rdo/lib/Horde/Rdo/Query.php
index
26f6502
..
4eea2f7
100644
(file)
--- 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);
}
}