mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-07-09 15:27:32 +00:00
Request non-dashed UUIDs from avatar source
This commit is contained in:
parent
a2abd7f782
commit
f282e9cfde
@ -192,6 +192,8 @@ class Page {
|
|||||||
$uuid = $name;
|
$uuid = $name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$uuid = str_replace($uuid, "-", "");
|
||||||
$src = str_replace('$NAME', $name, str_replace('$UUID', $uuid, $avatar_source));
|
$src = str_replace('$NAME', $name, str_replace('$UUID', $uuid, $avatar_source));
|
||||||
if (in_array($name, $this->settings->console_aliases) || $name === $this->settings->console_name) {
|
if (in_array($name, $this->settings->console_aliases) || $name === $this->settings->console_name) {
|
||||||
$src = $this->settings->console_image;
|
$src = $this->settings->console_image;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user