From: OverlordQ Date: Tue, 8 Feb 2011 15:34:28 +0000 (+0000) Subject: Followup to r81657, you do need a space between the table name and the alias X-Git-Tag: 1.31.0-rc.0~32112 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=295dbec295dd610ec996bd56923b83bd8a2cdaee;p=lhc%2Fweb%2Fwiklou.git Followup to r81657, you do need a space between the table name and the alias --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 66a6d84a8a..43342c772d 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -1625,7 +1625,7 @@ abstract class DatabaseBase implements DatabaseType { if ( !$alias || $alias == $name ) { return $this->tableName( $name ); } else { - return $this->tableName( $name ) . $this->addQuotes( $alias ); + return $this->tableName( $name ) . ' ' . $this->addQuotes( $alias ); } }