dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40e88c5
)
Holding off r58575 for now
author
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 5 Nov 2009 16:30:56 +0000
(16:30 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 5 Nov 2009 16:30:56 +0000
(16:30 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
5065280
..
78e1c81
100644
(file)
--- 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
}
/**