[Fixed] Builtin CronJob hook sends email without text vars filled in

Lee Mason
Offline
Topics: 174
Replies: 407
Moderator

Looks like when running the cron through the whmcs cron hook the language variables are not added to the email properly.

 

This works fine when using a custom cron (which is delivered through a http request).


Director at No Half Pixels Ltd.

01/05/2014 08:32:17

Lee Mason
Offline
Topics: 174
Replies: 407
Moderator

Fixed by including the english language file if lang array not populated as  fallback.


Director at No Half Pixels Ltd.

22/05/2015 13:11:41