mirror of
				https://github.com/getgrav/grav-plugin-admin.git
				synced 2025-10-31 18:35:57 +01:00 
			
		
		
		
	Fixed typo in the code
This commit is contained in:
		| @@ -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); | ||||
|  | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user