From 0235a79b4ea445ff42872d705aa8bc1d977d88da Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 1 Apr 2016 09:46:15 +0200 Subject: [PATCH] Initialise the printcss array --- lib/private/templatelayout.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/templatelayout.php b/lib/private/templatelayout.php index a1b75a3421..fe7638f399 100644 --- a/lib/private/templatelayout.php +++ b/lib/private/templatelayout.php @@ -156,6 +156,7 @@ class TemplateLayout extends \OC_Template { // Add the css files $cssFiles = self::findStylesheetFiles(\OC_Util::$styles); $this->assign('cssfiles', array()); + $this->assign('printcssfiles', []); foreach($cssFiles as $info) { $web = $info[1]; $file = $info[2];