From 98265540a38087785353c71621fcc5d61354f613 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Mon, 1 Jun 2015 22:37:43 +0100 Subject: Fix #592 - missing namespace --- mediafirewall.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mediafirewall.php') 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(); } -- cgit v1.3