@@ -182,8 +182,7 @@ discard block |
||
182 | 182 | $view->data = $manager->searchItems( $search, [], $total ); |
183 | 183 | $view->listItems = $this->getListItems( $view->data, $include ); |
184 | 184 | $view->childItems = []; |
185 | - } |
|
186 | - else |
|
185 | + } else |
|
187 | 186 | { |
188 | 187 | $level = \Aimeos\MW\Tree\Manager\Base::LEVEL_LIST; |
189 | 188 | if( in_array( 'catalog', $include ) ) { |
@@ -245,8 +244,7 @@ discard block |
||
245 | 244 | if( isset( $entry->parentid ) && $targetId !== null ) { |
246 | 245 | $manager->moveItem( $item->getId(), $entry->parentid, $targetId, $refId ); |
247 | 246 | } |
248 | - } |
|
249 | - else |
|
247 | + } else |
|
250 | 248 | { |
251 | 249 | $item = $manager->createItem(); |
252 | 250 | $item = $this->addItemData( $manager, $item, $entry, $item->getResourceType() ); |