Merge branch 'cc-5709-airtime-analyzer-buy-now' into cc-5709-airtime-analyzer-buy-now-saas
This commit is contained in:
commit
1f08f3c482
|
@ -228,15 +228,15 @@ class WHMCS_Auth_Adapter implements Zend_Auth_Adapter_Interface {
|
||||||
|
|
||||||
foreach ($arr["products"] as $product)
|
foreach ($arr["products"] as $product)
|
||||||
{
|
{
|
||||||
if (strpos($product[0]["groupname"], "Airtime") === FALSE)
|
if (strpos($product["groupname"]["product"], "Airtime") === FALSE)
|
||||||
{
|
{
|
||||||
//Ignore non-Airtime products
|
//Ignore non-Airtime products
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ($product[0]["status"] === "Active") {
|
if ($product["status"] === "Active") {
|
||||||
$airtimeProduct = $product[0];
|
$airtimeProduct = $product;
|
||||||
$subdomain = '';
|
$subdomain = '';
|
||||||
|
|
||||||
foreach ($airtimeProduct['customfields']['customfield'] as $customField)
|
foreach ($airtimeProduct['customfields']['customfield'] as $customField)
|
||||||
|
|
Loading…
Reference in New Issue