Skip to content

Commit

Permalink
Operator bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Jul 16, 2017
1 parent 58eb04f commit 7b0f796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mshoplib/src/MShop/Customer/Manager/Base.php
Expand Up @@ -127,7 +127,7 @@ protected function addGroups( \Aimeos\MShop\Customer\Item\Iface $item )
}


if( $item->getGroups() === [] )
if( $item->getGroups() !== [] )
{
$typeManager = $manager->getSubManager( 'type' );
$typeId = $typeManager->findItem( 'default', [], 'customer/group', 'default' )->getId();
Expand Down

0 comments on commit 7b0f796

Please sign in to comment.