Update: Work with 5.2 WHMCS

Updated to work with 5.2.* versions of WHMCS.