get_class -> class_exists for class loading hack (fixme for 1.0: make sure all these classes are in own files)
This commit is contained in:
parent
9fc6de6b37
commit
089c10d5d8
@ -102,7 +102,7 @@ class NoticeSection extends Section
|
|||||||
$this->out->elementEnd('p');
|
$this->out->elementEnd('p');
|
||||||
|
|
||||||
$this->out->elementStart('div', 'entry_content');
|
$this->out->elementStart('div', 'entry_content');
|
||||||
get_class('NoticeList');
|
class_exists('NoticeList');
|
||||||
$nli = new NoticeListItem($notice, $this->out);
|
$nli = new NoticeListItem($notice, $this->out);
|
||||||
$nli->showNoticeLink();
|
$nli->showNoticeLink();
|
||||||
$this->out->elementEnd('div');
|
$this->out->elementEnd('div');
|
||||||
|
Loading…
Reference in New Issue
Block a user