The file with function definition is not included. The patch fixes this.

Comments

andypost’s picture

Awesome! Just needs tests

lklimek’s picture

This patch solves the issue for me. Thanks! :)

maximpodorov’s picture

@andypost, why do you think this trivial patch requires testing?

drupov’s picture

Patch works against 2.6

sbrattla’s picture

Why is this patch stuck?

It solves the issue for on 2.6.

maximpodorov’s picture

If you think patch works, you can set this issue status to "Reviewed & tested by the community".

sbrattla’s picture

Status: Needs review » Reviewed & tested by the community

I believe this one is RTBC based on both others and my own testing.

cafuego’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new535 bytes

Moved the call to module_load_include() to inside the first if() statement, so the code will run a bit more efficiently and will not load the included file if no email is going to be sent anyway.

Updated patch (definitely passes local testing) attached.

maximpodorov’s picture

Status: Needs review » Reviewed & tested by the community

The patches are functionally equivalent. So the maintainers can choose any one.

fago’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, committed.

joshuautley’s picture

Worked for my issue as well. Thank you!

jsibley’s picture

This works for me. Thank you!

Status: Fixed » Closed (fixed)

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