From e0c069ce87ac44c915c94240931ccd8184e3a0e0 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 5 Nov 2009 16:30:56 +0000 Subject: [PATCH] Holding off r58575 for now --- includes/Article.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } /** -- 2.20.1