@@ -41,8 +41,7 @@ |
||
| 41 | 41 | if (is_array($message)) |
| 42 | 42 | { |
| 43 | 43 | $this->message = (string) $message[0]; |
| 44 | - } |
|
| 45 | - else |
|
| 44 | + } else |
|
| 46 | 45 | { |
| 47 | 46 | $this->message = $message; |
| 48 | 47 | } |
@@ -342,7 +342,7 @@ |
||
| 342 | 342 | $new_list = trim($new_list, ','); |
| 343 | 343 | |
| 344 | 344 | $new_userlist = $this->_get_userlist($new_list); |
| 345 | - $current_user =& $new_userlist[$curr_key - 1]; |
|
| 345 | + $current_user = & $new_userlist[$curr_key - 1]; |
|
| 346 | 346 | |
| 347 | 347 | $this->settings['current_user'] = (int) $current_user; |
| 348 | 348 | $this->settings['userlist'] = $new_list; |
@@ -50,8 +50,7 @@ discard block |
||
| 50 | 50 | if (!empty($collection)) |
| 51 | 51 | { |
| 52 | 52 | return $collection->get_entities(); |
| 53 | - } |
|
| 54 | - else |
|
| 53 | + } else |
|
| 55 | 54 | { |
| 56 | 55 | return array(); |
| 57 | 56 | } |
@@ -88,8 +87,7 @@ discard block |
||
| 88 | 87 | if (!$has_blocks && !$hiding_blocks && !sizeof($ex_positions)) |
| 89 | 88 | { |
| 90 | 89 | $this->route_mapper->delete($route); |
| 91 | - } |
|
| 92 | - else |
|
| 90 | + } else |
|
| 93 | 91 | { |
| 94 | 92 | $route->set_has_blocks($has_blocks); |
| 95 | 93 | $this->route_mapper->save($route); |
@@ -41,8 +41,7 @@ |
||
| 41 | 41 | if (is_array($message)) |
| 42 | 42 | { |
| 43 | 43 | $this->message = (string) $message[0]; |
| 44 | - } |
|
| 45 | - else |
|
| 44 | + } else |
|
| 46 | 45 | { |
| 47 | 46 | $this->message = $message; |
| 48 | 47 | } |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | { |
| 168 | 168 | for ($i = 0, $size = sizeof($topic_data); $i < $size; $i++) |
| 169 | 169 | { |
| 170 | - $row =& $topic_data[$i]; |
|
| 170 | + $row = & $topic_data[$i]; |
|
| 171 | 171 | $forum_id = $row['forum_id']; |
| 172 | 172 | $topic_id = $row['topic_id']; |
| 173 | 173 | |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | { |
| 198 | 198 | for ($i = 0, $size = sizeof($topic_data); $i < $size; $i++) |
| 199 | 199 | { |
| 200 | - $row =& $topic_data[$i]; |
|
| 200 | + $row = & $topic_data[$i]; |
|
| 201 | 201 | $forum_id = $row['forum_id']; |
| 202 | 202 | $topic_id = $row['topic_id']; |
| 203 | 203 | |
@@ -234,7 +234,7 @@ discard block |
||
| 234 | 234 | |
| 235 | 235 | for ($i = 0, $size = sizeof($topic_data); $i < $size; $i++) |
| 236 | 236 | { |
| 237 | - $topic_row =& $topic_data[$i]; |
|
| 237 | + $topic_row = & $topic_data[$i]; |
|
| 238 | 238 | $forum_id = $topic_row['forum_id']; |
| 239 | 239 | $topic_id = $topic_row['topic_id']; |
| 240 | 240 | $post_row = array_pop($post_data[$topic_id]); |
@@ -50,8 +50,7 @@ discard block |
||
| 50 | 50 | if (!empty($collection)) |
| 51 | 51 | { |
| 52 | 52 | return $collection->get_entities(); |
| 53 | - } |
|
| 54 | - else |
|
| 53 | + } else |
|
| 55 | 54 | { |
| 56 | 55 | return array(); |
| 57 | 56 | } |
@@ -88,8 +87,7 @@ discard block |
||
| 88 | 87 | if (!$has_blocks && !$hiding_blocks && !sizeof($ex_positions)) |
| 89 | 88 | { |
| 90 | 89 | $this->route_mapper->delete($route); |
| 91 | - } |
|
| 92 | - else |
|
| 90 | + } else |
|
| 93 | 91 | { |
| 94 | 92 | $route->set_has_blocks($has_blocks); |
| 95 | 93 | $this->route_mapper->save($route); |
@@ -41,8 +41,7 @@ |
||
| 41 | 41 | if (is_array($message)) |
| 42 | 42 | { |
| 43 | 43 | $this->message = (string) $message[0]; |
| 44 | - } |
|
| 45 | - else |
|
| 44 | + } else |
|
| 46 | 45 | { |
| 47 | 46 | $this->message = $message; |
| 48 | 47 | } |