Notice title constructor doesn't check class of Notice
This commit is contained in:
parent
7df78c7c6a
commit
c1cab9bfb8
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user