http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99117

Revision: 99117
Author:   reedy
Date:     2011-10-06 16:36:31 +0000 (Thu, 06 Oct 2011)
Log Message:
-----------
Followup r99116, didn't notice $lang was used lower down

Modified Paths:
--------------
    trunk/phase3/includes/specials/SpecialProtectedtitles.php

Modified: trunk/phase3/includes/specials/SpecialProtectedtitles.php
===================================================================
--- trunk/phase3/includes/specials/SpecialProtectedtitles.php   2011-10-06 
16:33:36 UTC (rev 99116)
+++ trunk/phase3/includes/specials/SpecialProtectedtitles.php   2011-10-06 
16:36:31 UTC (rev 99117)
@@ -90,7 +90,8 @@
 
                $description_items[] = $protType;
 
-               $expiry = strlen( $row->pt_expiry ) ? 
$this->getLang()->formatExpiry( $row->pt_expiry, TS_MW ) : $infinity;
+               $lang = $this->getLang();
+               $expiry = strlen( $row->pt_expiry ) ? $lang->formatExpiry( 
$row->pt_expiry, TS_MW ) : $infinity;
                if( $expiry != $infinity ) {
                        $expiry_description = wfMsg(
                                'protect-expiring-local',


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to