mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
fix class image
This commit is contained in:
@@ -4615,8 +4615,10 @@ function get_user_class_image($class){
|
|||||||
"Peasant" => "pic/peasant.gif"
|
"Peasant" => "pic/peasant.gif"
|
||||||
);
|
);
|
||||||
if (isset($class)) {
|
if (isset($class)) {
|
||||||
$className = get_user_class_name($class,false,false,false);
|
$className = get_user_class_name($class,false,false,false);
|
||||||
$className = strstr($className, '(', true);
|
if (str_contains($className, '(')) {
|
||||||
|
$className = strstr($className, '(', true);
|
||||||
|
}
|
||||||
$uclass = $UC[$className];
|
$uclass = $UC[$className];
|
||||||
} else {
|
} else {
|
||||||
$uclass = "pic/banned.gif";
|
$uclass = "pic/banned.gif";
|
||||||
|
|||||||
Reference in New Issue
Block a user