diff options
author | Evan Prodromou <evan@status.net> | 2010-08-14 18:02:08 -0700 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-08-14 18:02:08 -0700 |
commit | c1cab9bfb83496d941f9a4da918d1e9221f3a08a (patch) | |
tree | a68944923c29d4853d27833b972b4cba5dcca3fb /plugins/NoticeTitle | |
parent | 7df78c7c6a46c622f4abbfd32d51bd80c43a9866 (diff) |
Notice title constructor doesn't check class of Notice
Diffstat (limited to 'plugins/NoticeTitle')
-rw-r--r-- | plugins/NoticeTitle/Notice_title.php | 2 |
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)) { |