Last modified: 2009-07-01 19:22:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T21462, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19462 - Warning message displayed when there are no errors after confirming an account
Warning message displayed when there are no errors after confirming an account
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ConfirmAccount (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Aaron Schulz
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-01 14:37 UTC by Giovanni scorp Toraldo
Modified: 2009-07-01 19:22 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Giovanni scorp Toraldo 2009-07-01 14:37:34 UTC
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.
Comment 1 Aaron Schulz 2009-07-01 19:22:15 UTC
fixed in r52640

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links