From: Evan Prodromou Date: Sun, 15 Aug 2010 01:02:08 +0000 (-0700) Subject: Notice title constructor doesn't check class of Notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c1cab9bfb83496d941f9a4da918d1e9221f3a08a;p=quix0rs-gnu-social.git Notice title constructor doesn't check class of Notice --- diff --git a/plugins/NoticeTitle/Notice_title.php b/plugins/NoticeTitle/Notice_title.php index b3b4fcc571..b66ea9901b 100644 --- a/plugins/NoticeTitle/Notice_title.php +++ b/plugins/NoticeTitle/Notice_title.php @@ -126,7 +126,7 @@ class Notice_title extends Memcached_DataObject * @return string title of the notice, or null if none */ - static function fromNotice(Notice $notice) + static function fromNotice($notice) { $nt = Notice_title::staticGet('notice_id', $notice->id); if (empty($nt)) {