]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Notice title constructor doesn't check class of Notice
authorEvan Prodromou <evan@status.net>
Sun, 15 Aug 2010 01:02:08 +0000 (18:02 -0700)
committerEvan Prodromou <evan@status.net>
Sun, 15 Aug 2010 01:02:08 +0000 (18:02 -0700)
plugins/NoticeTitle/Notice_title.php

index b3b4fcc571c11731cd4c3c6c366aa70e6680ea67..b66ea9901b25c766c9052d006d07c55028c5bcdf 100644 (file)
@@ -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)) {