On the admin/config/system/mimemail settings page there is a variable_set in the form constructor. If you have only one Mimemail engine, it doesn't display the select, and auto-sets to that engine on the form constructor call. But on my environment it sets the variable as NULL rather than "mimemail". That's because foreach() moves the internal pointer and than key() returns NULL.

Environment: PHP Version 5.2.10-2ubuntu6.5

CommentFileSizeAuthor
#1 mimemail-admin-vset-1898140-1.patch567 bytesmiroslavbanov

Comments

miroslavbanov’s picture

StatusFileSize
new567 bytes

Submitting my patch for this.

sgabe’s picture

Title: Mimemail engine variable set to NULL each time Mimemail settings page is viewed » Engine variable set to NULL on settings page
Priority: Major » Normal
Status: Active » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.