diff --git a/app/code/community/Sitewards/B2BProfessional/Helper/Customer.php b/app/code/community/Sitewards/B2BProfessional/Helper/Customer.php index 8db06a3..baeccf1 100644 --- a/app/code/community/Sitewards/B2BProfessional/Helper/Customer.php +++ b/app/code/community/Sitewards/B2BProfessional/Helper/Customer.php @@ -131,7 +131,7 @@ private function isCustomerActiveForStore(Mage_Customer_Model_Customer $oCustome */ private function isCustomerAdminCreation(Mage_Customer_Model_Customer $oCustomer) { - return $oCustomer->getStoreId() === Mage_Core_Model_App::ADMIN_STORE_ID; + return $oCustomer->getStoreId() === (string) Mage_Core_Model_App::ADMIN_STORE_ID; } /** @@ -193,4 +193,4 @@ private function getActivatedCustomerGroupIds() } return $this->aActivatedCustomerGroupIds; } -} \ No newline at end of file +}