From 089c10d5d893a4aa3b94c08fd105c87600afb130 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 21 Mar 2011 11:43:02 -0700 Subject: [PATCH] get_class -> class_exists for class loading hack (fixme for 1.0: make sure all these classes are in own files) --- lib/noticesection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.39.2