php8 warning
[Pman.Base] / Pman.php
index 6e81de1..a2821d4 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -722,8 +722,9 @@ class Pman extends HTML_FlexyFramework_Page
      */
     function outputJavascriptIncludes()  
     {
-        // BC support - currently 1 project still relies on this.. (MO portal) 
-        $o = HTML_FlexyFramework::get()->Pman_Core;
+        // BC support - currently 1 project still relies on this.. (MO portal)
+        $ff = HTML_FlexyFramework::get();
+        $o = isset($ff->Pman_Core)  ? $ff->Pman_Core : array();
         if (isset($o['packseed'])) {
             return $this->outputJavascriptIncludesBC();
         }