? Success

User tests: Successful: Unsuccessful:

avatar itbra
itbra
5 Oct 2014

Change 1: Function signature - added 5th parameter for content disposition because its absense is causing the Strict-Standard error Strict Standards: Declaration of JMail::addAttachment() should be compatible with PHPMailer::addAttachment($path, $name = '', $encoding = 'base64', $type = '', $disposition = 'attachment') in /libraries/joomla/mail/mail.php on line 22

Change 2: The function parameters encoding, type, disposition are always of type string. I changed the type note to reflect this.

avatar itbra itbra - open - 5 Oct 2014
avatar jissues-bot jissues-bot - change - 5 Oct 2014
Labels Added: ?
avatar itbra itbra - change - 5 Oct 2014
The description was changed
avatar b2z
b2z - comment - 11 Oct 2014

Well that's interesting - PHPMailer::addAttachement() do not have this 5th param. Am I missing something?

avatar itbra
itbra - comment - 11 Oct 2014

Ah... right after your comment i noticed this PR should be associated to 3.4-dev's phpmailer, because currently Joomla is deployed with phpmailer 5.2.6 whereas my previous PR which updates this library to 5.2.8 and introduces the extended method see line 2047 in in phpmailer.php. Since i'm using 5.2.8 here i forgot about this and added this PR at the wrong place. I'll delete it and make a new one at the right place.

Sorry for the confusion!

avatar itbra itbra - close - 11 Oct 2014
avatar itbra itbra - change - 11 Oct 2014
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2014-10-11 21:11:15
avatar itbra
itbra - comment - 11 Oct 2014

@mbabker @Bakual
If it is possible would you please delete this PR to prevent it from futher confusion?

Add a Comment

Login with GitHub to post a comment