Index: trunk/phase3/includes/specials/SpecialProtectedtitles.php |
— | — | @@ -90,7 +90,8 @@ |
91 | 91 | |
92 | 92 | $description_items[] = $protType; |
93 | 93 | |
94 | | - $expiry = strlen( $row->pt_expiry ) ? $this->getLang()->formatExpiry( $row->pt_expiry, TS_MW ) : $infinity; |
| 94 | + $lang = $this->getLang(); |
| 95 | + $expiry = strlen( $row->pt_expiry ) ? $lang->formatExpiry( $row->pt_expiry, TS_MW ) : $infinity; |
95 | 96 | if( $expiry != $infinity ) { |
96 | 97 | $expiry_description = wfMsg( |
97 | 98 | 'protect-expiring-local', |