Jump to content

HotFix: CORE-8351 - Domain renewal email template days until nextdue merge field always zero


Recommended Posts

  • WHMCS CEO

We have become aware of a functional issue in the 5.3.12 release published on Wednesday, 25 Feb 2015, which affects the email template merge field “domain_days_until_nextdue”.

 

When sending domain expiry notices prior to domain expiry, this merge field is improperly assigned a value of "0". In the default renewal notice email template, this value is used next to the individual domain name the notice relates to in parenthesis. The merge field “domain_days_until_expiry” is however calculated and displayed correctly as part of the leading paragraph related to that domain and notice in general.

 

Resolution

 

In most cases, the expiry and the next due dates will be identical. This means that email templates using this merge field can simply be updated to use {$domain_days_until_expiry} in place of {$domain_days_until_nextdue}.

 

Alternatively, we are releasing a hot-fix patch which corrects the calculation of {$domain_days_until_nextdue}. To apply the hot-fix, see below.

 

Applying the Hot-Fix

 

To apply the fix, download the zip file from the link below. Extract the contents, a single file named “functions.php”, and upload it to the /includes/ folder of your WHMCS installation.

 

whmcs_CORE-8351_Domain_days_until_nextdue.zip

 

Note: This file is only valid if you are running Version 5.3.12.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated