From: Sam Reed Date: Sun, 25 Jul 2010 20:55:51 +0000 (+0000) Subject: Pass $this->getName() to getLocalUrl X-Git-Tag: 1.31.0-rc.0~35931 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=29256f49146879fee9b413a622128cf43f1cefea;p=lhc%2Fweb%2Fwiklou.git Pass $this->getName() to getLocalUrl --- diff --git a/includes/filerepo/LocalFile.php b/includes/filerepo/LocalFile.php index b35ba0b6a1..b0f61b7a57 100644 --- a/includes/filerepo/LocalFile.php +++ b/includes/filerepo/LocalFile.php @@ -1125,7 +1125,7 @@ class LocalFile extends File { * Get the URL of the file description page. */ function getDescriptionUrl() { - return $this->title->getLocalUrl(); + return $this->title->getLocalUrl( $this->getName() ); } /**