mirror of
				https://github.com/Mibew/i18n.git
				synced 2025-11-01 01:36:57 +03:00 
			
		
		
		
	Fix notice about undef $errors in operator/operators.php
This commit is contained in:
		
							parent
							
								
									a23d9fa216
								
							
						
					
					
						commit
						2d08fda940
					
				| @ -24,6 +24,7 @@ csrfchecktoken(); | ||||
| 
 | ||||
| if (isset($_GET['act'])) { | ||||
| 
 | ||||
| 	$errors = array(); | ||||
| 	$operatorid = isset($_GET['id']) ? $_GET['id'] : ""; | ||||
| 	if (!preg_match("/^\d+$/", $operatorid)) { | ||||
| 		$errors[] = getlocal("no_such_operator"); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user