From: Brion Vibber Date: Mon, 6 Sep 2004 09:00:44 +0000 (+0000) Subject: Fix missing quotes in query which broke metadata XML loading X-Git-Tag: 1.5.0alpha1~2088 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=f3ec5c9291540a242007b73c703e67b1d471320f;p=lhc%2Fweb%2Fwiklou.git Fix missing quotes in query which broke metadata XML loading --- diff --git a/includes/Article.php b/includes/Article.php index 8026cf5ee2..ff526162ee 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -697,7 +697,7 @@ class Article { $dbr =& $this->getDB(); $oldTable = $dbr->tableName( 'old' ); $userTable = $dbr->tableName( 'user' ); - $encDBkey = $dbr->strencode( $title->getDBkey() ); + $encDBkey = $dbr->addQuotes( $title->getDBkey() ); $ns = $title->getNamespace(); $user = $this->getUser();