mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-24 08:52:45 +00:00
Fix compatibility with PHP 5.4
This commit is contained in:
parent
3c1d9a98fd
commit
11333e64b2
@ -27,7 +27,7 @@ function get_avatar($name) {
|
|||||||
return "<img src='https://cravatar.eu/avatar/" . $name . "/25' style='margin-bottom:5px;margin-right:5px;border-radius:2px;' />" . $name;
|
return "<img src='https://cravatar.eu/avatar/" . $name . "/25' style='margin-bottom:5px;margin-right:5px;border-radius:2px;' />" . $name;
|
||||||
}
|
}
|
||||||
|
|
||||||
$uuid_name_cache = [];
|
$uuid_name_cache = array();
|
||||||
|
|
||||||
function get_name($uuid) {
|
function get_name($uuid) {
|
||||||
global $conn, $table_history, $uuid_name_cache;
|
global $conn, $table_history, $uuid_name_cache;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user