summaryrefslogtreecommitdiff
path: root/mediafirewall.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-06-01 22:37:43 +0100
committerGreg Roach <fisharebest@gmail.com>2015-06-01 22:37:43 +0100
commit98265540a38087785353c71621fcc5d61354f613 (patch)
treee67996c5b17e2113da74a856ff6dfe54a90f2309 /mediafirewall.php
parent84658595d1e73b496f54eb5ca4bc9c0a966753c7 (diff)
downloadwebtrees-98265540a38087785353c71621fcc5d61354f613.tar.gz
webtrees-98265540a38087785353c71621fcc5d61354f613.tar.bz2
webtrees-98265540a38087785353c71621fcc5d61354f613.zip
Fix #592 - missing namespace
Diffstat (limited to 'mediafirewall.php')
-rw-r--r--mediafirewall.php2
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();
}