summaryrefslogtreecommitdiff
path: root/plugins/NoticeTitle/Notice_title.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NoticeTitle/Notice_title.php')
-rw-r--r--plugins/NoticeTitle/Notice_title.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NoticeTitle/Notice_title.php b/plugins/NoticeTitle/Notice_title.php
index b3b4fcc57..b66ea9901 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)) {