Index: branches/5.2.x/core/kernel/db/dblist.php =================================================================== diff -u -N -r16007 -r16032 --- branches/5.2.x/core/kernel/db/dblist.php (.../dblist.php) (revision 16007) +++ branches/5.2.x/core/kernel/db/dblist.php (.../dblist.php) (revision 16032) @@ -1,6 +1,6 @@ sql, $regs) ) { + if ( !preg_match_all('/LEFT\s+JOIN\s+(.*?|.*?\s+AS\s+.*?|.*?\s+.*?)\s+ON\s+(.*?\n|.*?$)/si', $this->sql, $regs) ) { $this->joins = Array (); } @@ -1763,4 +1763,4 @@ { return preg_match('/(`' . $escaped_alias . '`|' . $escaped_alias . ')\./', $string); } -} \ No newline at end of file +}