if ($from = variable_get('smtp_from', '') == '') {
the == has higher precedence so you are really just assigning a boolean value to $from
| Comment | File | Size | Author |
|---|---|---|---|
| smtp-from-blank-fallback.patch | 979 bytes | john morahan |
if ($from = variable_get('smtp_from', '') == '') {
the == has higher precedence so you are really just assigning a boolean value to $from
| Comment | File | Size | Author |
|---|---|---|---|
| smtp-from-blank-fallback.patch | 979 bytes | john morahan |
Comments
Comment #1
jdwfly commentedPatch rolled fine for me.
Comment #2
simon georges commentedConfirmed.
Comment #3
wundo commentedThat has been already fixed by someone else.
Closing this. Thanks guys.