Last modified: 2014-07-09 12:26:37 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 T68673, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66673 - UserMailer::sendWithPear() calls $mailer->send() with incorrect parameters
UserMailer::sendWithPear() calls $mailer->send() with incorrect parameters
Status: NEW
Product: MediaWiki
Classification: Unclassified
Email (Other open bugs)
1.24rc
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-16 17:09 UTC by Sam Reed (reedy)
Modified: 2014-07-09 12:26 UTC (History)
0 users

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


Attachments

Description Sam Reed (reedy) 2014-06-16 17:09:32 UTC
protected static function sendWithPear( $mailer, $dest, $headers, $body ) {
		$mailResult = $mailer->send( $dest, $headers, $body );



...


	public static function send( $to, $from, $subject, $body, $replyto = null,
		$contentType = 'text/plain; charset=UTF-8'
	) {



$from parameter is missing. $headers being the same as $subject seems wrong
Comment 1 Andre Klapper 2014-07-09 12:26:37 UTC
Is this an "easy" bug (keyword)? If anybody wants to work on this, the file is /includes/UserMailer.php in MediaWiki core.

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


Navigation
Links