@@ -276,9 +276,9 @@ |
||
| 276 | 276 | /** |
| 277 | 277 | * Build the query |
| 278 | 278 | * |
| 279 | - * @param bool|true $check_visibility Should we only return data from forums the user is allowed to see? |
|
| 280 | - * @param bool|true $enable_caching Should the query be cached where possible? |
|
| 281 | - * @param bool|true $exclude_hidden_forums Leave out hidden forums? |
|
| 279 | + * @param boolean $check_visibility Should we only return data from forums the user is allowed to see? |
|
| 280 | + * @param boolean $enable_caching Should the query be cached where possible? |
|
| 281 | + * @param boolean $exclude_hidden_forums Leave out hidden forums? |
|
| 282 | 282 | * @return $this |
| 283 | 283 | */ |
| 284 | 284 | public function build($check_visibility = true, $enable_caching = true, $exclude_hidden_forums = true) |
@@ -58,8 +58,7 @@ |
||
| 58 | 58 | if ($type === 'list') |
| 59 | 59 | { |
| 60 | 60 | $this->tree->display_list($data['items'], $template, 'tree'); |
| 61 | - } |
|
| 62 | - else |
|
| 61 | + } else |
|
| 63 | 62 | { |
| 64 | 63 | $this->tree->set_params($settings); |
| 65 | 64 | $this->tree->display_navlist($data, $template, 'tree'); |