diff options
Diffstat (limited to 'mediafirewall.php')
| -rw-r--r-- | mediafirewall.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediafirewall.php b/mediafirewall.php index bf34e2b525..3556698193 100644 --- a/mediafirewall.php +++ b/mediafirewall.php @@ -185,7 +185,7 @@ function embedText($im, $text, $maxsize, $color, $font, $vpos, $hpos) { // apply the text if ($useTTF) { // if imagettftext throws errors, catch them with a custom error handler - set_error_handler('imagettftextErrorHandler'); + set_error_handler('\Fisharebest\Webtrees\\imagettftextErrorHandler'); imagettftext($im, $taille, $rotation, $pos_x, $pos_y, $textcolor, 'includes/fonts/' . $font, $text); restore_error_handler(); } |
