Fix variables should be passed by reference

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2016-12-22 15:41:13 +01:00 committed by Roeland Jago Douma
parent e1f018838e
commit e3a57c1f07
No known key found for this signature in database
GPG key ID: F941078878347C0C

View file

@ -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);