From 6a0be1a22671a992963f26fa01cdc4e2168e20c4 Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 22 Oct 2021 12:00:07 +0800 Subject: [PATCH] php8 warning --- Pman.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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(); } -- 2.39.2