diff options
author | RaindropsSys <contact@minteck.org> | 2023-06-25 20:10:39 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-06-25 20:10:39 +0200 |
commit | 5adf2b8517c21845dd0b406dee910514ff78640d (patch) | |
tree | 433c26dd202a8e201cef5b2ea7786e038ffd84d7 /includes/util | |
parent | 395cc068abf1aadb34be8b03e5567e24aa8a898d (diff) | |
download | pluralconnect-5adf2b8517c21845dd0b406dee910514ff78640d.tar.gz pluralconnect-5adf2b8517c21845dd0b406dee910514ff78640d.tar.bz2 pluralconnect-5adf2b8517c21845dd0b406dee910514ff78640d.zip |
Updated 6 files and added 2 files (automated)
Diffstat (limited to 'includes/util')
-rw-r--r-- | includes/util/functions.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/util/functions.inc b/includes/util/functions.inc index ad54706..9b6f356 100644 --- a/includes/util/functions.inc +++ b/includes/util/functions.inc @@ -91,7 +91,7 @@ if (!function_exists("getAsset")) { } if ($type === "bodies" || $type === "heads") { - if (in_array("human", getSystemMember($systemID, $memberID)["_metadata"]["species"])) { + if (getSystemMember($systemID, $memberID) !== null && getSystemMember($systemID, $memberID)["_metadata"] !== null && getSystemMember($systemID, $memberID)["_metadata"]["species"] !== null && in_array("human", getSystemMember($systemID, $memberID)["_metadata"]["species"])) { $type = "avatars"; if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/assets/" . $type . "/" . $id . ".webp")) { |