From e3a57c1f07ece1c93feef31ae44a356f7d794096 Mon Sep 17 00:00:00 2001 From: =?utf8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Thu, 22 Dec 2016 15:41:13 +0100 Subject: [PATCH] Fix variables should be passed by reference MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- lib/private/Template/SCSSCacher.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php index d227efce6bb..67f77688163 100755 --- a/lib/private/Template/SCSSCacher.php +++ b/lib/private/Template/SCSSCacher.php @@ -175,7 +175,8 @@ class SCSSCacher { * @return string */ public function getCachedSCSS($appName, $fileName) { - $fileName = array_pop(explode('/', $fileName)); + $tmpfileLoc = explode('/', $fileName); + $fileName = array_pop($tmpfileLoc); $fileName = str_replace('.scss', '.css', $fileName); return substr($this->urlGenerator->linkToRoute('core.Css.getCss', array('fileName' => $fileName, 'appName' => $appName)), 1); -- 2.39.5