Skip to content

Commit

Permalink
Attempt at fixing a strange bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierstoval committed Nov 21, 2022
1 parent 0bfc996 commit d14f163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/EsterenChar.php
Original file line number Diff line number Diff line change
Expand Up @@ -1757,7 +1757,7 @@ private function _make_sheet_from_original($pages = null, $printer_friendly = fa
imagettftext($nimg, 21, 0, 880, 280, $grey, $lettrine, $player_name);
unset($taille_du_texte, $police_du_texte, $char_name, $arr, $player_name);

imagettftext($nimg, 18, 0, 215, 322, $grey, $times, tr($this->get('details_personnage.sexe'), true)[0]);
imagettftext($nimg, 18, 0, 215, 322, $grey, $times, tr($this->get('details_personnage.sexe'), true)[0] ?? '');
imagettftext($nimg, 20, 0, 343, 322, $grey, $carolingia_bold, substr($this->get('age'), 0, 3));

$taille_du_texte = 17;
Expand Down

0 comments on commit d14f163

Please sign in to comment.