mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	issue error if to is before from date
This commit is contained in:
		
							parent
							
								
									134bcd025d
								
							
						
					
					
						commit
						0d61fc80ec
					
				|  | @ -60,7 +60,8 @@ if(isset($_POST["to"])) { | |||
| } | ||||
| 
 | ||||
| if ($to<=$from){ | ||||
| 	$to = $from + 86400 -1; | ||||
| //	$to = $from + 86400 -1;
 | ||||
| 	UI::exitError(getMLText("add_event"),getMLText("to_before_from")); | ||||
| } | ||||
| 
 | ||||
| $res = addEvent($from, $to, $name, $comment); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann