@@ -168,7 +168,7 @@ |
||
168 | 168 | */ |
169 | 169 | public function display_list(array $data) |
170 | 170 | { |
171 | - $data = array_map(function($row) { |
|
171 | + $data = array_map(function ($row) { |
|
172 | 172 | $row['num_kids'] = $this->count_descendants($row); |
173 | 173 | return array_change_key_case($row, CASE_UPPER); |
174 | 174 | }, $data); |
@@ -125,7 +125,7 @@ |
||
125 | 125 | */ |
126 | 126 | protected function save_locations(array $locations) |
127 | 127 | { |
128 | - $locations = array_merge($this->get_locations(), $locations); |
|
128 | + $locations = array_merge($this->get_locations(), $locations); |
|
129 | 129 | |
130 | 130 | $this->config->set('sm_navbar_locations', json_encode(array_filter($locations))); |
131 | 131 | } |
@@ -88,7 +88,7 @@ |
||
88 | 88 | |
89 | 89 | if (!empty($groups)) |
90 | 90 | { |
91 | - $permission = array( |
|
91 | + $permission = array( |
|
92 | 92 | 'type' => $this->request->variable('perm_type', 0), |
93 | 93 | 'groups' => $groups, |
94 | 94 | ); |