From: Sam Reed Date: Mon, 7 Feb 2011 23:21:53 +0000 (+0000) Subject: Per fixme on r77597, change to $this->addQuotes() instead of hardcoded quote type X-Git-Tag: 1.31.0-rc.0~32133 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=849f0890c390a27c6ef7be70134f9113afbfba3c;p=lhc%2Fweb%2Fwiklou.git Per fixme on r77597, change to $this->addQuotes() instead of hardcoded quote type --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 4337cede5f..66a6d84a8a 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 ) . ' `' . $alias . '`'; + return $this->tableName( $name ) . $this->addQuotes( $alias ); } }