From: Ævar Arnfjörð Bjarmason Date: Fri, 8 Jul 2005 18:48:10 +0000 (+0000) Subject: * Fixed a missing typecast in Language::dateFormat() that would cause some X-Git-Tag: 1.5.0beta4~193 X-Git-Url: http://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=9216aaddbb066c582a28f868219e268dbeb5a6f5;p=lhc%2Fweb%2Fwiklou.git * Fixed a missing typecast in Language::dateFormat() that would cause some interesting errors with signitures. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 03a8202308..c29944daf6 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -545,6 +545,8 @@ of MediaWiki:Newpagetext) to &action=edit, if page is new. * (bug 2721) New language file for Vietnamese with the Vietnamese number notation * (bug 2749)   would appear as a literal in image galleries for Cs, Fr, Fur, Pl and Sv * (bug 787) external links being rendered when they only have one slash +* Fixed a missing typecast in Language::dateFormat() that would cause some + interesting errors with signitures. === Caveats === diff --git a/languages/Language.php b/languages/Language.php index c520bdecea..e4605a7e7e 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -2405,7 +2405,7 @@ class Language { if ( !$wgUser->isLoggedIn() || $format === false ) { $options = $this->getDefaultUserOptions(); - return $options['date']; + return (string)$options['date']; } else { return $wgUser->getOption( 'date' ); }