@@ -58,7 +58,7 @@ |
||
| 58 | 58 | return new RedirectResponse(route('admin-trees')); |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | - return $this->viewResponse('errors/no-tree-access', [ 'title' => '' ]); |
|
| 61 | + return $this->viewResponse('errors/no-tree-access', ['title' => '']); |
|
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | /** |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | $args = []; |
| 170 | 170 | |
| 171 | 171 | if ($search) { |
| 172 | - $sql_select .= " AND (user_name LIKE CONCAT('%', :search_1, '%') OR real_name LIKE CONCAT('%', :search_2, '%') OR email LIKE CONCAT('%', :search_3, '%'))"; |
|
| 172 | + $sql_select .= " AND (user_name LIKE CONCAT('%', :search_1, '%') OR real_name LIKE CONCAT('%', :search_2, '%') OR email LIKE CONCAT('%', :search_3, '%'))"; |
|
| 173 | 173 | $args['search_1'] = $search; |
| 174 | 174 | $args['search_2'] = $search; |
| 175 | 175 | $args['search_3'] = $search; |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | |
| 199 | 199 | if ($length) { |
| 200 | 200 | $user->setPreference('admin_users_page_size', $length); |
| 201 | - $sql_select .= " LIMIT :limit OFFSET :offset"; |
|
| 201 | + $sql_select .= " LIMIT :limit OFFSET :offset"; |
|
| 202 | 202 | $args['limit'] = $length; |
| 203 | 203 | $args['offset'] = $start; |
| 204 | 204 | } |