From c1cab9bfb83496d941f9a4da918d1e9221f3a08a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 14 Aug 2010 18:02:08 -0700 Subject: [PATCH] Notice title constructor doesn't check class of Notice --- plugins/NoticeTitle/Notice_title.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {