projects
/
Pman.Cms
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ef2b123
)
fix missing var issue
author
Alan
<alan@roojs.com>
Fri, 7 Oct 2022 03:33:04 +0000
(11:33 +0800)
committer
Alan
<alan@roojs.com>
Fri, 7 Oct 2022 03:33:04 +0000
(11:33 +0800)
PageThumb.php
patch
|
blob
|
history
diff --git
a/PageThumb.php
b/PageThumb.php
index
db19d61
..
83decb4
100644
(file)
--- a/
PageThumb.php
+++ b/
PageThumb.php
@@
-22,8
+22,8
@@
class Pman_Cms_PageThumb extends Pman
if($cms_page->page_type_id_name != 'page'){
$this->serve($file_broken);
}
if($cms_page->page_type_id_name != 'page'){
$this->serve($file_broken);
}
-
- $opts =
HTML_FlexyFramework::get()->Pman_Cms
;
+ $ff = HTML_FlexyFramework::get();
+ $opts =
isset($ff->Pman_Cms) ? $ff->Pman_Cms : array()
;
if (!isset($opts['basePHP'])) {
$this->serve($file_broken);
if (!isset($opts['basePHP'])) {
$this->serve($file_broken);