Holding off r58575 for now
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 5 Nov 2009 16:30:56 +0000 (16:30 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 5 Nov 2009 16:30:56 +0000 (16:30 +0000)
includes/Article.php

index 5065280..78e1c81 100644 (file)
@@ -60,7 +60,9 @@ class Article {
         */
        public static function newFromID( $id ) {
                $t = Title::newFromID( $id );
-               return $t == null ? null : new static( $t );
+               # FIXME: doesn't inherit right
+               return $t == null ? null : new self( $t );
+               #return $t == null ? null : new static( $t ); // PHP 5.3
        }
 
        /**