From aacc12036081cb2b2fa0815ea21c26fd992a3d4d Mon Sep 17 00:00:00 2001 From: slawkens Date: Sat, 5 Aug 2023 20:52:01 +0200 Subject: [PATCH] Remove deprecated utf8_decode --- templates/tibiacom/headline.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/tibiacom/headline.php b/templates/tibiacom/headline.php index dbef28a1..85dae0f2 100644 --- a/templates/tibiacom/headline.php +++ b/templates/tibiacom/headline.php @@ -14,7 +14,7 @@ imagecolortransparent($image, imagecolorallocate($image, 0, 0, 0)); // set text $font = getenv('GDFONTPATH') . DIRECTORY_SEPARATOR . 'martel.ttf'; -imagettftext($image, 18, 0, 4, 20, imagecolorallocate($image, 240, 209, 164), $font, utf8_decode($text)); +imagettftext($image, 18, 0, 4, 20, imagecolorallocate($image, 240, 209, 164), $font, $text); // header mime type header('Content-type: image/gif');