02-06-2018, 03:47 AM 
		
	
	
		Ok. Now I understand! Replace your functions with these...
https://pastebin.com/6h0xivag
	
	
	
	
https://pastebin.com/6h0xivag
| The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.29 (Linux)
  | 
| 
				 
					GetRoles
				 
			 | 
		
| 
	 
		
		
		02-06-2018, 03:47 AM 
		
	 
	
		Ok. Now I understand! Replace your functions with these... 
	
	
	
	
https://pastebin.com/6h0xivag 
		
		
		02-06-2018, 01:39 PM 
		
	 
	Fatal error: Cannot redeclare echoPerm() (previously declared in C:\xampp\htdocs\usersc\includes\custom_functions.php:26) in C:\xampp\htdocs\usersc\includes\custom_functions.php on line 47 ![]() My custom_functions.php https://pastebin.com/vjYCR89k 
		
		
		02-06-2018, 01:42 PM 
		
	 
	
		Delete the old echoPerm function you had in usersc\includes\custom_functions.php and replace it with the one in the pastebin. 
	
	
	
	
You'll probably have to do the same thing with the getRoles function. 
		
		
		02-06-2018, 02:41 PM 
		
	 
	
		It works very well, thank you very much. Pura Vida Dan.
	 
	
	
	
	
		
		
		02-06-2018, 02:42 PM 
		
	 
	
		You are a genious
	 
	
	
	
	
 |