Lines 560 and 561 of mimemail 6.x-1.0-beta2 have issues with E_NOTICE in that they assume that the $url will have a hash (pound) symbol and a question mark respectively, so the list() call fails if they don't.
I've attached a patch which uses a more robust method here, and does not trigger E_NOTICE errors.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | mimemail_1308628_02.patch | 539 bytes | sgabe |
| mimemail_notices.patch | 1.13 KB | chriscohen |
Comments
Comment #1
ibes commentedthis is also in mimemail 7.x
Comment #2
sgabe commentedThis needs review.
Comment #3
sgabe commentedI think here it's enough and safe to use the @-operator for the list() call. The value of the empty/missing variables will be NULL, we just need to get rid of the notice.