diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2016-12-22 15:41:13 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-01-06 09:42:39 +0100 |
commit | e3a57c1f07ece1c93feef31ae44a356f7d794096 (patch) | |
tree | 4e74f6f109bdafed87dc1e0a9224a6314e40be89 /lib/private/Template/SCSSCacher.php | |
parent | e1f018838ea2509cf9726b6d9c1bb30186051474 (diff) | |
download | nextcloud-server-e3a57c1f07ece1c93feef31ae44a356f7d794096.tar.gz nextcloud-server-e3a57c1f07ece1c93feef31ae44a356f7d794096.zip |
Fix variables should be passed by reference
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/Template/SCSSCacher.php')
-rwxr-xr-x | lib/private/Template/SCSSCacher.php | 3 |
1 files changed, 2 insertions, 1 deletions
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); |