From 849f0890c390a27c6ef7be70134f9113afbfba3c Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 7 Feb 2011 23:21:53 +0000 Subject: [PATCH] Per fixme on r77597, change to $this->addQuotes() instead of hardcoded quote type --- includes/db/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } } -- 2.20.1