From: Alan Date: Fri, 22 Oct 2021 04:00:07 +0000 (+0800) Subject: php8 warning X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=commitdiff_plain;h=6a0be1a22671a992963f26fa01cdc4e2168e20c4 php8 warning --- diff --git a/Pman.php b/Pman.php index 6e81de1..a2821d4 100644 --- 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(); }