mirror of
				https://github.com/getgrav/grav-plugin-admin.git
				synced 2025-10-31 18:35:57 +01:00 
			
		
		
		
	Use Url:post() to get the $_POST variable (allows common security checks/filtering for the POST data)
				
					
				
			This commit is contained in:
		| @@ -595,7 +595,8 @@ class Admin | ||||
|         } | ||||
|  | ||||
|         if (!$post) { | ||||
|             $post = isset($_POST['data']) ? $_POST['data'] : []; | ||||
|             $post = $this->grav['uri']->post(); | ||||
|             $post = isset($post['data']) ? $post['data'] : []; | ||||
|         } | ||||
|  | ||||
|         // Check to see if a data type is plugin-provided, before looking into core ones | ||||
|   | ||||
		Reference in New Issue
	
	Block a user