1
0
Fork 0

Fix func. call with wrong signature in OpenSim.php

master
Anonymous Contributor 2023-09-09 06:28:51 +02:00
parent 37ad81fb16
commit 9483889e55
1 changed files with 2 additions and 2 deletions

View File

@ -58,9 +58,9 @@ class OpenSim
return $this->cache['USERNAME'][$userID]; return $this->cache['USERNAME'][$userID];
} }
$res = $this->getUserNameFromGridData($this->pdo, $userID, 'GridUser', 'UserID'); $res = $this->getUserNameFromGridData($userID, 'GridUser', 'UserID');
if ($res == null) { if ($res == null) {
$res = $this->getUserNameFromGridData($this->pdo, $userID, 'Friends', 'PrincipalID'); $res = $this->getUserNameFromGridData($userID, 'Friends', 'PrincipalID');
} }
return $res == null ? "Unknown User" : $res; return $res == null ? "Unknown User" : $res;