mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 21:27:36 +00:00 
			
		
		
		
	retrieve folder id from $_REQUEST
This commit is contained in:
		
							parent
							
								
									555214c8ed
								
							
						
					
					
						commit
						1c72478c3a
					
				|  | @ -41,13 +41,12 @@ if( move_uploaded_file( $source_file_path, $target_file_path ) ) { | |||
| 		} | ||||
| 		fclose($fpnew); | ||||
| 
 | ||||
| 		if (!isset($_POST["folderid"]) || !is_numeric($_POST["folderid"]) || intval($_POST["folderid"])<1) { | ||||
| 		if (!isset($_REQUEST["folderid"]) || !is_numeric($_REQUEST["folderid"]) || intval($_REQUEST["folderid"])<1) { | ||||
| 			echo getMLText("invalid_folder_id"); | ||||
| 		} | ||||
| 
 | ||||
| 		$folderid = $_POST["folderid"]; | ||||
| 		$folderid = $_REQUEST["folderid"]; | ||||
| 		$folder = $dms->getFolder($folderid); | ||||
| 
 | ||||
| 		if (!is_object($folder)) { | ||||
| 			echo getMLText("invalid_folder_id"); | ||||
| 		} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann