@@ -103,8 +103,7 @@ |
||
| 103 | 103 | if (is_int($position)) |
| 104 | 104 | { |
| 105 | 105 | array_splice($array, $position, 0, $insert); |
| 106 | - } |
|
| 107 | - else |
|
| 106 | + } else |
|
| 108 | 107 | { |
| 109 | 108 | $pos = array_search($position, array_keys($array)); |
| 110 | 109 | $array = array_merge( |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | $data['U_MARK_READ'] = $this->path_helper->update_web_root_path($data['U_MARK_READ']); |
| 54 | 54 | $data['URL'] = $this->path_helper->update_web_root_path($data['URL']); |
| 55 | 55 | $data['L_MARK_READ'] = $this->user->lang['MARK_READ']; |
| 56 | - $result[] =$data; |
|
| 56 | + $result[] = $data; |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | return new JsonResponse($result); |