Index: trunk/phase3/includes/Article.php |
— | — | @@ -60,7 +60,9 @@ |
61 | 61 | */ |
62 | 62 | public static function newFromID( $id ) { |
63 | 63 | $t = Title::newFromID( $id ); |
64 | | - return $t == null ? null : new static( $t ); |
| 64 | + # FIXME: doesn't inherit right |
| 65 | + return $t == null ? null : new self( $t ); |
| 66 | + #return $t == null ? null : new static( $t ); // PHP 5.3 |
65 | 67 | } |
66 | 68 | |
67 | 69 | /** |