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