Use short assignment operator in PHP
[lhc/web/wiklou.git] / includes / filerepo / file / ForeignAPIFile.php
index aff0e3f..8e0242d 100644 (file)
@@ -321,7 +321,7 @@ class ForeignAPIFile extends File {
                if ( $this->repo->canCacheThumbs() ) {
                        $path = $this->repo->getZonePath( 'thumb' ) . '/' . $this->getHashPath();
                        if ( $suffix ) {
-                               $path = $path . $suffix . '/';
+                               $path .= $suffix . '/';
                        }
 
                        return $path;