From: Antoine Musso Date: Wed, 8 Feb 2012 14:30:17 +0000 (+0000) Subject: rtrim() call does not pass by reference! X-Git-Tag: 1.31.0-rc.0~24868 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=0df85023454e1f5a26690c3fed433b06aaf78782;p=lhc%2Fweb%2Fwiklou.git rtrim() call does not pass by reference! fix r110923 --- diff --git a/includes/filerepo/backend/FSFileBackend.php b/includes/filerepo/backend/FSFileBackend.php index 0871b46c69..03e4d87cbd 100644 --- a/includes/filerepo/backend/FSFileBackend.php +++ b/includes/filerepo/backend/FSFileBackend.php @@ -51,7 +51,7 @@ class FSFileBackend extends FileBackendStore { if( isset( $config['containerPaths'] ) ) { $this->containerPaths = (array)$config['containerPaths']; foreach ( $this->containerPaths as &$path ) { - rtrim( $path, '/' ); // remove trailing slash + $path = rtrim( $path, '/' ); // remove trailing slash } }