projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3dd3086
)
php8 warning
author
Alan
<alan@roojs.com>
Fri, 22 Oct 2021 04:00:07 +0000
(12:00 +0800)
committer
Alan
<alan@roojs.com>
Fri, 22 Oct 2021 04:00:07 +0000
(12:00 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
6e81de1
..
a2821d4
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-722,8
+722,9
@@
class Pman extends HTML_FlexyFramework_Page
*/
function outputJavascriptIncludes()
{
*/
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();
}
if (isset($o['packseed'])) {
return $this->outputJavascriptIncludesBC();
}