r74736 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74735‎ | r74736 | r74737 >
Date:20:37, 13 October 2010
Author:aaron
Status:ok
Tags:
Comment:
Follow-up r74531: missing isset()
Modified paths:
  • /trunk/extensions/ConfirmAccount/ConfirmAccount.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/ConfirmAccount.php
@@ -163,7 +163,7 @@
164164 function efSetRequestLoginLinks( &$personal_urls, &$title ) {
165165 if ( isset( $personal_urls['anonlogin'] ) ) {
166166 $personal_urls['anonlogin']['text'] = wfMsg('nav-login-createaccount');
167 - } elseif ( $personal_urls['login'] ) {
 167+ } elseif ( isset($personal_urls['login'] ) ) {
168168 $personal_urls['login']['text'] = wfMsg('nav-login-createaccount');
169169 }
170170 return true;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r74531Make sure "login / create account" notice still as "create account"aaron22:43, 8 October 2010

Status & tagging log