projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17e33f9
)
dont assume pman will be available
author
Alan
<alan@roojs.com>
Tue, 20 Feb 2024 06:22:45 +0000
(14:22 +0800)
committer
Alan
<alan@roojs.com>
Tue, 20 Feb 2024 06:22:45 +0000
(14:22 +0800)
Pman/Roo.php
patch
|
blob
|
history
diff --git
a/Pman/Roo.php
b/Pman/Roo.php
index
35869a1
..
3c59f0d
100644
(file)
--- 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']);