@@ -182,8 +182,7 @@ discard block |
||
| 182 | 182 | $view->data = $manager->search( $search, [], $total ); |
| 183 | 183 | $view->listItems = $this->getListItems( $view->data, $include ); |
| 184 | 184 | $view->childItems = map(); |
| 185 | - } |
|
| 186 | - else |
|
| 185 | + } else |
|
| 187 | 186 | { |
| 188 | 187 | $level = \Aimeos\MW\Tree\Manager\Base::LEVEL_ONE; |
| 189 | 188 | if( in_array( 'catalog', $include ) ) { |
@@ -249,8 +248,7 @@ discard block |
||
| 249 | 248 | if( isset( $entry->parentid ) && $targetId !== null ) { |
| 250 | 249 | $manager->moveItem( $item->getId(), $entry->parentid, $targetId, $refId ); |
| 251 | 250 | } |
| 252 | - } |
|
| 253 | - else |
|
| 251 | + } else |
|
| 254 | 252 | { |
| 255 | 253 | $item = $manager->create(); |
| 256 | 254 | |
@@ -180,8 +180,7 @@ |
||
| 180 | 180 | } |
| 181 | 181 | |
| 182 | 182 | $item = $manager->saveItem( $item ); |
| 183 | - } |
|
| 184 | - else |
|
| 183 | + } else |
|
| 185 | 184 | { |
| 186 | 185 | $item = $manager->create(); |
| 187 | 186 | |