Fix more undefined variable/index notice in tests
This commit is contained in:
		
					parent
					
						
							
								209510e970
							
						
					
				
			
			
				commit
				
					
						a380bcd1c1
					
				
			
		
					 7 changed files with 43 additions and 31 deletions
				
			
		| 
						 | 
				
			
			@ -1482,7 +1482,7 @@ function api_users_lookup($type)
 | 
			
		|||
{
 | 
			
		||||
	$users = [];
 | 
			
		||||
 | 
			
		||||
	if (x($_REQUEST['user_id'])) {
 | 
			
		||||
	if (!empty($_REQUEST['user_id'])) {
 | 
			
		||||
		foreach (explode(',', $_REQUEST['user_id']) as $id) {
 | 
			
		||||
			if (!empty($id)) {
 | 
			
		||||
				$users[] = api_get_user(get_app(), $id);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue