|
@@ -216,8 +216,7 @@ |
|
|
block discarded – undo |
|
216
|
216
|
$username = $token->getUser()->getUsername(); |
|
217
|
217
|
$userid = $token->getUser()->getId(); |
|
218
|
218
|
$context->setUserId( $userid ); |
|
219
|
|
- $context->setGroupIds( function() use ( $context, $userid ) |
|
220
|
|
- { |
|
|
219
|
+ $context->setGroupIds( function() use ( $context, $userid ) { |
|
221
|
220
|
$manager = \Aimeos\MShop::create( $context, 'customer' ); |
|
222
|
221
|
return $manager->getItem( $userid, array( 'customer/group' ) )->getGroups(); |
|
223
|
222
|
} ); |
Please login to merge, or discard this patch.