dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7b5b5d
)
Per fixme on r77597, change to $this->addQuotes() instead of hardcoded quote type
author
Sam Reed
<reedy@users.mediawiki.org>
Mon, 7 Feb 2011 23:21:53 +0000
(23:21 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Mon, 7 Feb 2011 23:21:53 +0000
(23:21 +0000)
includes/db/Database.php
patch
|
blob
|
history
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
4337ced
..
66a6d84
100644
(file)
--- 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 )
;
}
}