@@ -49,7 +49,7 @@ |
||
49 | 49 | $new_list = trim($new_list, ','); |
50 | 50 | |
51 | 51 | $new_userlist = self::_get_userlist($new_list); |
52 | - $current_user =& $new_userlist[$curr_key - 1]; |
|
52 | + $current_user = & $new_userlist[$curr_key - 1]; |
|
53 | 53 | $settings['current_user'] = (int) $current_user; |
54 | 54 | $settings['userlist'] = trim($new_list); |
55 | 55 | $settings['last_changed'] = 0; |
@@ -162,7 +162,7 @@ |
||
162 | 162 | |
163 | 163 | $is_current_item = $this->is_current_item($row); |
164 | 164 | $is_parent = $this->is_parent_of_current_item($row); |
165 | - $this_depth = $this->parental_depth[$row[$this->column_parent_id]] + 1; |
|
165 | + $this_depth = $this->parental_depth[$row[$this->column_parent_id]] + 1; |
|
166 | 166 | $leaf = $this->get_leaf_node($row, $is_current_item, $is_parent); |
167 | 167 | |
168 | 168 | $this->parental_depth[$row[$this->pk]] = $this_depth; |
@@ -200,7 +200,7 @@ |
||
200 | 200 | list($controller_service, $controller_method) = explode(':', $controller); |
201 | 201 | $controller_params = $symfony_request->attributes->get('_route_params'); |
202 | 202 | $controller_object = $this->phpbb_container->get($controller_service); |
203 | - $controller_class = get_class($controller_object); |
|
203 | + $controller_class = get_class($controller_object); |
|
204 | 204 | |
205 | 205 | $r = new \ReflectionMethod($controller_class, $controller_method); |
206 | 206 | $class_params = $r->getParameters(); |
@@ -151,7 +151,7 @@ |
||
151 | 151 | $vars = array('bulk_options', 'forumslist'); |
152 | 152 | extract($this->phpbb_dispatcher->trigger_event('blitze.sitemaker.acp_add_bulk_menu_options', compact($vars))); |
153 | 153 | |
154 | - $bulk_options['FORUMS'] = $this->get_forums_string($forumslist); |
|
154 | + $bulk_options['FORUMS'] = $this->get_forums_string($forumslist); |
|
155 | 155 | |
156 | 156 | $this->template->assign_var('bulk_options', $bulk_options); |
157 | 157 | } |
@@ -351,9 +351,9 @@ discard block |
||
351 | 351 | |
352 | 352 | $vars['method'] = 'build_select'; |
353 | 353 | $vars['params'][] = $field; |
354 | - $vars['params'][] = (int) $type[1]; // size |
|
355 | - $vars['params'][] = (bool) $type[2]; // multi select |
|
356 | - $vars['params'][] = (string) $type[3]; // togggle key |
|
354 | + $vars['params'][] = (int) $type[1]; // size |
|
355 | + $vars['params'][] = (bool) $type[2]; // multi select |
|
356 | + $vars['params'][] = (string) $type[3]; // togggle key |
|
357 | 357 | $type[0] = 'custom'; |
358 | 358 | } |
359 | 359 | |
@@ -393,7 +393,7 @@ discard block |
||
393 | 393 | { |
394 | 394 | $this->prep_checkbox_field_for_display($vars, $type, $field); |
395 | 395 | |
396 | - $vars['method'] ='build_multi_select'; |
|
396 | + $vars['method'] = 'build_multi_select'; |
|
397 | 397 | } |
398 | 398 | |
399 | 399 | /** |
@@ -43,8 +43,8 @@ |
||
43 | 43 | $entity = $this->force_get_route($route_data); |
44 | 44 | $this->update_route($entity, $route_prefs); |
45 | 45 | |
46 | - $ex_positions = $entity->get_ex_positions(); |
|
47 | - $hide_blocks = $entity->get_hide_blocks(); |
|
46 | + $ex_positions = $entity->get_ex_positions(); |
|
47 | + $hide_blocks = $entity->get_hide_blocks(); |
|
48 | 48 | } |
49 | 49 | // user has made choices that match defaults, and route prefs exist in db |
50 | 50 | else if ($entity = $this->route_mapper->load($this->get_condition($route_data))) |