From: Alan Date: Tue, 20 Feb 2024 06:22:45 +0000 (+0800) Subject: dont assume pman will be available X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=commitdiff_plain;h=d0736a069bb4dccb6796937993411e4392100c72 dont assume pman will be available --- 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']);