From: Brion Vibber Date: Mon, 21 Mar 2011 18:43:02 +0000 (-0700) Subject: get_class -> class_exists for class loading hack (fixme for 1.0: make sure all these... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=089c10d5d893a4aa3b94c08fd105c87600afb130;p=quix0rs-gnu-social.git get_class -> class_exists for class loading hack (fixme for 1.0: make sure all these classes are in own files) --- 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');