@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | public function updateListItems( \Aimeos\MShop\Common\Item\ListRef\Iface $item, array $map, $domain, $type ) |
36 | 36 | { |
37 | - $listManager = $this->getObject()->getSubManager( 'lists' ); |
|
37 | + $listManager = $this->getObject()->getSubManager( 'lists' ); |
|
38 | 38 | |
39 | 39 | if( !isset( $this->typeIds[$domain][$type] ) ) |
40 | 40 | { |
@@ -167,10 +167,10 @@ discard block |
||
167 | 167 | |
168 | 168 | $search = $manager->createSearch(); |
169 | 169 | |
170 | - $expr = [ $search->compare( '==', $prefix . '.lists.parentid', $ids ) ]; |
|
170 | + $expr = [$search->compare( '==', $prefix.'.lists.parentid', $ids )]; |
|
171 | 171 | |
172 | 172 | if( $domains !== null ) { |
173 | - $expr[] = $search->compare( '==', $prefix . '.lists.domain', $domains ); |
|
173 | + $expr[] = $search->compare( '==', $prefix.'.lists.domain', $domains ); |
|
174 | 174 | } |
175 | 175 | |
176 | 176 | $search->setConditions( $search->combine( '&&', $expr ) ); |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | $manager = \Aimeos\MShop\Factory::createManager( $context, $domain ); |
199 | 199 | |
200 | 200 | $search = $manager->createSearch(); |
201 | - $search->setConditions( $search->compare( '==', str_replace( '/', '.', $domain ) . '.id', array_keys( $list ) ) ); |
|
201 | + $search->setConditions( $search->compare( '==', str_replace( '/', '.', $domain ).'.id', array_keys( $list ) ) ); |
|
202 | 202 | $search->setSlice( 0, 0x7fffffff ); |
203 | 203 | |
204 | 204 | foreach( $manager->searchItems( $search ) as $id => $item ) |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | { |
232 | 232 | $context = $this->getContext(); |
233 | 233 | $rmListIds = $rmIds = $refManager = []; |
234 | - $listManager = \Aimeos\MShop\Factory::createManager( $context, $domain . '/lists' ); |
|
234 | + $listManager = \Aimeos\MShop\Factory::createManager( $context, $domain.'/lists' ); |
|
235 | 235 | |
236 | 236 | |
237 | 237 | foreach( $item->getListItemsDeleted() as $listItem ) |