diff --git a/lib/noticesection.php b/lib/noticesection.php index ceb0bb36f8..2342abe19d 100644 --- a/lib/noticesection.php +++ b/lib/noticesection.php @@ -102,7 +102,7 @@ class NoticeSection extends Section $this->out->elementEnd('p'); $this->out->elementStart('div', 'entry_content'); - get_class('NoticeList'); + class_exists('NoticeList'); $nli = new NoticeListItem($notice, $this->out); $nli->showNoticeLink(); $this->out->elementEnd('div');