×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: PHP notice, $mAttachments not defined

PHP notice, $mAttachments not defined 11 years 10 months ago #19478

  • Hugh Messenger
  • Hugh Messenger's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 2
This has probably been fixed since I installed my copy, but line 566 in mail.php, in mandrillSend(), is tossing an undefined notice, because it's counting $mAttachments, which isn't defined if there are none.

I just added a simple ...

$mAttachments = array();

... as the first line in that func.

-- hugh
The following user(s) said Thank You: Stefan Basting

PHP notice, $mAttachments not defined 11 years 10 months ago #19480

  • Hugh Messenger
  • Hugh Messenger's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 2
Ooops, I think this is the wrong forum. Didn't notice this was for CMandrill.

As you were. Never mind.

-- hugh
The following user(s) said Thank You: Stefan Basting

PHP notice, $mAttachments not defined 11 years 10 months ago #19481

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Hugh,
Yes, I think that I already fixed that. CMandrill is the continuation of our mandrill plugin. In matter of fact it is the mandrill plugin on steroids :)

Regards,
Daniel
  • Page:
  • 1
Time to create page: 0.129 seconds