Index: trunk/extensions/Wikilog/RELEASE-NOTES |
— | — | @@ -18,8 +18,10 @@ |
19 | 19 | |
20 | 20 | * (mw:bug 27904) Fixed method signature compatibility with Mw1.16 for |
21 | 21 | WikilogParserCache. |
| 22 | +* (wl:issue 12) Fixed calls to $wgParser->clearState() (which is now a private |
| 23 | + function). |
| 24 | +* Fixed a crash when creating a new wikilog post as an unlogged user. |
22 | 25 | |
23 | | - |
24 | 26 | == Wikilog 1.1.0 == |
25 | 27 | |
26 | 28 | Aug 8, 2010 |
Index: trunk/extensions/Wikilog/WikilogParser.php |
— | — | @@ -472,7 +472,7 @@ |
473 | 473 | } |
474 | 474 | |
475 | 475 | $user = User::newFromName( $name ); |
476 | | - if ( !is_null( $user ) ) { |
| 476 | + if ( $user ) { |
477 | 477 | $parser->mExtWikilog->mAuthors[$user->getName()] = $user->getID(); |
478 | 478 | } |
479 | 479 | else { |