From 0df85023454e1f5a26690c3fed433b06aaf78782 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Wed, 8 Feb 2012 14:30:17 +0000 Subject: [PATCH] rtrim() call does not pass by reference! fix r110923 --- includes/filerepo/backend/FSFileBackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } } -- 2.20.1