return Unknown user then null key
parent
6f2300114e
commit
21be4b89ea
|
@ -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];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue