From d0736a069bb4dccb6796937993411e4392100c72 Mon Sep 17 00:00:00 2001 From: Alan Date: Tue, 20 Feb 2024 14:22:45 +0800 Subject: [PATCH] dont assume pman will be available --- Pman/Roo.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Pman/Roo.php b/Pman/Roo.php index 35869a1..3c59f0d 100644 --- a/Pman/Roo.php +++ b/Pman/Roo.php @@ -1596,7 +1596,8 @@ class Pman_Roo extends Pman } $tab = str_replace('/', '',$tab); // basic protection?? - $pm = HTML_FlexyFramework::get()->Pman; + $ff = HTML_FlexyFramework::get(); + $pm = isset($ff->Pman) ? $ff->Pman : array(); if (isset($pm['roo_alias'])) { $map = array_flip($pm['roo_alias']); -- 2.39.2