Fix WHMCS login for multiple users again
This commit is contained in:
parent
6f9c87db3d
commit
10acbb8ad6
|
@ -226,9 +226,9 @@ class WHMCS_Auth_Adapter implements Zend_Auth_Adapter_Interface {
|
||||||
$isAirtimeAccountSuspended = true;
|
$isAirtimeAccountSuspended = true;
|
||||||
$airtimeProduct = null;
|
$airtimeProduct = null;
|
||||||
|
|
||||||
foreach ($arr["products"] as $product)
|
foreach ($arr["products"]["product"] as $product)
|
||||||
{
|
{
|
||||||
if (strpos($product["groupname"]["product"], "Airtime") === FALSE)
|
if (strpos($product["groupname"], "Airtime") === FALSE)
|
||||||
{
|
{
|
||||||
//Ignore non-Airtime products
|
//Ignore non-Airtime products
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue