@@ -78,8 +78,7 @@ discard block |
||
78 | 78 | foreach( $manager->search( $search ) as $item ) { |
79 | 79 | $this->listTypes[$item->getCode()] = $item->getCode(); |
80 | 80 | } |
81 | - } |
|
82 | - else |
|
81 | + } else |
|
83 | 82 | { |
84 | 83 | $this->listTypes = array_combine( $this->listTypes, $this->listTypes ); |
85 | 84 | } |
@@ -137,8 +136,7 @@ discard block |
||
137 | 136 | $listItem = $listMap[$content][$type][$listtype]; |
138 | 137 | $refItem = $listItem->getRefItem(); |
139 | 138 | unset( $listItems[$listItem->getId()] ); |
140 | - } |
|
141 | - else |
|
139 | + } else |
|
142 | 140 | { |
143 | 141 | $listItem = $manager->createListItem()->setType( $listtype ); |
144 | 142 | $refItem = $refManager->create()->setType( $type ); |
@@ -78,8 +78,7 @@ discard block |
||
78 | 78 | foreach( $manager->search( $search ) as $item ) { |
79 | 79 | $this->listTypes[$item->getCode()] = $item->getCode(); |
80 | 80 | } |
81 | - } |
|
82 | - else |
|
81 | + } else |
|
83 | 82 | { |
84 | 83 | $this->listTypes = array_combine( $this->listTypes, $this->listTypes ); |
85 | 84 | } |
@@ -157,8 +156,7 @@ discard block |
||
157 | 156 | $listItem = $listMap[$url][$type][$listtype]; |
158 | 157 | $refItem = $listItem->getRefItem(); |
159 | 158 | unset( $listItems[$listItem->getId()] ); |
160 | - } |
|
161 | - else |
|
159 | + } else |
|
162 | 160 | { |
163 | 161 | $listItem = $manager->createListItem()->setType( $listtype ); |
164 | 162 | $refItem = $refManager->create()->setType( $type ); |
@@ -78,8 +78,7 @@ |
||
78 | 78 | foreach( $manager->search( $search ) as $item ) { |
79 | 79 | $this->listTypes[$item->getCode()] = $item->getCode(); |
80 | 80 | } |
81 | - } |
|
82 | - else |
|
81 | + } else |
|
83 | 82 | { |
84 | 83 | $this->listTypes = array_combine( $this->listTypes, $this->listTypes ); |
85 | 84 | } |
@@ -78,8 +78,7 @@ |
||
78 | 78 | foreach( $manager->search( $search ) as $item ) { |
79 | 79 | $this->listTypes[$item->getCode()] = $item->getCode(); |
80 | 80 | } |
81 | - } |
|
82 | - else |
|
81 | + } else |
|
83 | 82 | { |
84 | 83 | $this->listTypes = array_combine( $this->listTypes, $this->listTypes ); |
85 | 84 | } |
@@ -78,8 +78,7 @@ |
||
78 | 78 | foreach( $manager->search( $search ) as $item ) { |
79 | 79 | $this->listTypes[$item->getCode()] = $item->getCode(); |
80 | 80 | } |
81 | - } |
|
82 | - else |
|
81 | + } else |
|
83 | 82 | { |
84 | 83 | $this->listTypes = array_combine( $this->listTypes, $this->listTypes ); |
85 | 84 | } |
@@ -78,8 +78,7 @@ |
||
78 | 78 | foreach( $manager->search( $search ) as $item ) { |
79 | 79 | $this->listTypes[$item->getCode()] = $item->getCode(); |
80 | 80 | } |
81 | - } |
|
82 | - else |
|
81 | + } else |
|
83 | 82 | { |
84 | 83 | $this->listTypes = array_combine( $this->listTypes, $this->listTypes ); |
85 | 84 | } |