1
0
Fork 0

return Unknown user then null key

master
Chris 2021-01-06 15:16:43 +01:00
parent 6f2300114e
commit 21be4b89ea
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,9 @@
{ {
global $RUNTIME; global $RUNTIME;
if($userID == "00000000-0000-0000-0000-000000000000")
return "Unknown User";
if(isset($RUNTIME['CACHE']['USERNAME'][$userID])) if(isset($RUNTIME['CACHE']['USERNAME'][$userID]))
return $RUNTIME['CACHE']['USERNAME'][$userID]; return $RUNTIME['CACHE']['USERNAME'][$userID];