Pman.php
authorAlan Knowles <alan@roojs.com>
Wed, 5 Dec 2018 08:47:56 +0000 (16:47 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 5 Dec 2018 08:47:56 +0000 (16:47 +0800)
Pman.php

index 70058ad..9ca434b 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -754,7 +754,9 @@ class Pman extends HTML_FlexyFramework_Page
         
         $this->callModules('applyCSSIncludes', $this);
         foreach($this->css_includes as $module => $ar) {
-            $pg->assetArrayToHtml( $ar , 'css');
+            if ($ar) {
+                $pg->assetArrayToHtml( $ar , 'css');
+            }
         }
         
         // old style... - probably remove this...