Skip to content

Commit

Permalink
Remove deprecated utf8_decode
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Aug 5, 2023
1 parent 757ec28 commit aacc120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/tibiacom/headline.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// 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');
Expand Down

0 comments on commit aacc120

Please sign in to comment.