From: jenkins-bot Date: Sun, 2 Dec 2018 00:18:18 +0000 (+0000) Subject: Merge "media: Do not pass unused parameter" X-Git-Tag: 1.34.0-rc.0~3380 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=d8b0e318eea85c3d47675d528483d86cc655534a;hp=b90e38192c1e1e6b9bb73f46c6f6a0b89f83548d;p=lhc%2Fweb%2Fwiklou.git Merge "media: Do not pass unused parameter" --- diff --git a/includes/filerepo/file/ForeignAPIFile.php b/includes/filerepo/file/ForeignAPIFile.php index fd3dc8bba6..4c1bc4d292 100644 --- a/includes/filerepo/file/ForeignAPIFile.php +++ b/includes/filerepo/file/ForeignAPIFile.php @@ -321,7 +321,7 @@ class ForeignAPIFile extends File { */ function getThumbPath( $suffix = '' ) { if ( $this->repo->canCacheThumbs() ) { - $path = $this->repo->getZonePath( 'thumb' ) . '/' . $this->getHashPath( $this->getName() ); + $path = $this->repo->getZonePath( 'thumb' ) . '/' . $this->getHashPath(); if ( $suffix ) { $path = $path . $suffix . '/'; }