Fixed typo in the code

This commit is contained in:
Matias Griese
2019-08-23 12:58:56 +03:00
parent 8ddc56eec5
commit fcc76d7470

View File

@@ -1719,7 +1719,7 @@ class AdminController extends AdminBaseController
$data['level'] = 1;
}
[$status, $message, $response] = $this->getLevelListing($data);
[$status, $message, $response,] = $this->getLevelListing($data);
$json = [
'status' => $status,
@@ -2299,7 +2299,7 @@ class AdminController extends AdminBaseController
$sub_route = '/' . implode('/', array_slice($nodes, 1, $data['level']++ ));
$data['route'] = $sub_route;
list($status, $msg, $children, $extra,) = $this->getLevelListing($data);
[$status, $msg, $children, $extra] = $this->getLevelListing($data);
}