diff --git a/include/functions.php b/include/functions.php index 053548cc..e10b0d60 100644 --- a/include/functions.php +++ b/include/functions.php @@ -5896,7 +5896,9 @@ function build_medal_image(\Illuminate\Support\Collection $medals, $maxHeight = $html .= ''; $medalImages[] = $html; } - $medalImages[] = sprintf('
', nexus_trans('label.save')); + if ($withActions) { + $medalImages[] = sprintf('
', nexus_trans('label.save')); + } return $wrapBefore . implode('', $medalImages) . $wrapAfter; }