rtrim() call does not pass by reference!
[lhc/web/wiklou.git] / includes / filerepo / backend / FSFileBackend.php
index 0871b46..03e4d87 100644 (file)
@@ -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
                        }
                }