From: Aaron Schulz Date: Thu, 5 Nov 2009 16:30:56 +0000 (+0000) Subject: Holding off r58575 for now X-Git-Tag: 1.31.0-rc.0~38965 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=e0c069ce87ac44c915c94240931ccd8184e3a0e0;p=lhc%2Fweb%2Fwiklou.git Holding off r58575 for now --- diff --git a/includes/Article.php b/includes/Article.php index 5065280788..78e1c819d0 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -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 } /**