Merge "Fix undefined index warning"

This commit is contained in:
jenkins-bot 2015-03-31 14:58:01 +00:00 committed by Gerrit Code Review
commit 4d676b13cd
1 changed files with 1 additions and 2 deletions

View File

@ -261,8 +261,7 @@ class SpecialContact extends UnlistedSpecialPage {
}
$includeIP = isset( $config['IncludeIP'] ) && $config['IncludeIP']
&& ( $formData['IncludeIP'] || $user->isAnon()
);
&& ( $user->isAnon() || $formData['IncludeIP'] );
$fromName = $formData['FromName'];
$subject = $formData['Subject'];