From: Sam Reed Date: Thu, 6 Oct 2011 16:33:36 +0000 (+0000) Subject: -rakkaus/#mediawiki-i18n- (1 lines skipped) [06-Oct-2011 16:12:26] PHP Fatal error... X-Git-Tag: 1.31.0-rc.0~27227 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=761c063241968d2798aefad661da3c0e302b8c6f;p=lhc%2Fweb%2Fwiklou.git -rakkaus/#mediawiki-i18n- (1 lines skipped) [06-Oct-2011 16:12:26] PHP Fatal error: Call to a member function formatExpiry() on a non-object in /www/w/includes/specials/SpecialProtectedtitles.php on line 93 --- diff --git a/includes/specials/SpecialProtectedtitles.php b/includes/specials/SpecialProtectedtitles.php index fe2fd05b8b..bfce8d1aea 100644 --- a/includes/specials/SpecialProtectedtitles.php +++ b/includes/specials/SpecialProtectedtitles.php @@ -90,7 +90,7 @@ class SpecialProtectedtitles extends SpecialPage { $description_items[] = $protType; - $expiry = strlen( $row->pt_expiry ) ? $lang->formatExpiry( $row->pt_expiry, TS_MW ) : $infinity; + $expiry = strlen( $row->pt_expiry ) ? $this->getLang()->formatExpiry( $row->pt_expiry, TS_MW ) : $infinity; if( $expiry != $infinity ) { $expiry_description = wfMsg( 'protect-expiring-local',