From: Brion Vibber Date: Wed, 13 Jul 2005 01:52:51 +0000 (+0000) Subject: * (bug 2833) Fix bug in previous fix X-Git-Tag: 1.5.0beta4~149 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=289d29c18e173b591ccabd368dad63b6c54c6e92;p=lhc%2Fweb%2Fwiklou.git * (bug 2833) Fix bug in previous fix --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index f1e123906b..d357000d96 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -563,9 +563,9 @@ of MediaWiki:Newpagetext) to &action=edit, if page is new. * (bug 655) Provide empty search form when searching for nothing * (bug 2802) Display more than one character of the sort key * Nynorsk numeric format fix -* Added a new array for extensions to use, $wgExtensionCredits, see - documentation in DefaultSettings.php * (bug 2825) Fix regression in newtalk notifications for anons w/ enotif off +* (bug 2833) Fix bug in previous fix + === Caveats === diff --git a/includes/Article.php b/includes/Article.php index 378039d49a..6a5ecaa484 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2026,8 +2026,10 @@ class Article { $other = new User(); $other->setName( $shortTitle ); } - $other->setNewtalk(1); - $other->saveNewtalk(); + if( $other ) { + $other->setNewtalk(1); + $other->saveNewtalk(); + } } }