https://bugzilla.wikimedia.org/show_bug.cgi?id=19462
Summary: Warning message displayed when there are no errors after
confirming an account
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: ConfirmAccount
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
This happen with MediaWiki 1.15.0 and the 1.15.x snapshot of ConfirmAccount
extension.
Warning: Invalid argument supplied for foreach() in
/extensions/ConfirmAccount/ConfirmAccount_body.php on line 796
foreach( $errors as $error ) {
$wgOut->addHTML( '<p>' . $error . '</p>' );
}
$errors should be checked for non-null before using it in a foreach statement.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l