andre пре 2 година
родитељ
комит
e882cf4876
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      app/Http/Client/EmailAccount.php

+ 3 - 3
app/Http/Client/EmailAccount.php

@@ -29,10 +29,10 @@ class EmailAccount extends AbstractClientController
         $productManager = new ProductManager();
         $productManager->loadByHostingId($this->request->get('id'));
 
-        if ($this->getWhmcsParamByKey('status') !== 'Active' || !$productManager->isControllerAccessible(ControllerEnums::EMAIL_ACCOUNT_PAGE))
-        {
+//        if ($this->getWhmcsParamByKey('status') !== 'Active' || !$productManager->isControllerAccessible(ControllerEnums::EMAIL_ACCOUNT_PAGE))
+//        {
             return Helper\redirectByUrl(BuildUrlExtended::getProvisioningUrl('',false,false));
-        }
+//        }
 
         return Helper\view()
             ->addElement(new Description('emailAccount'))