From b5f79b94a3db4e8395644b4d62bc2c2e6e566cf1 Mon Sep 17 00:00:00 2001 From: Glenn Henshaw Date: Mon, 6 Jul 2009 21:07:33 -0400 Subject: [PATCH] fixed check leading to "can't find fonts" message --- plugins/MantisGraph/core/graph_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/MantisGraph/core/graph_api.php b/plugins/MantisGraph/core/graph_api.php index 14289b3dcf..47d06ca3c2 100644 --- a/plugins/MantisGraph/core/graph_api.php +++ b/plugins/MantisGraph/core/graph_api.php @@ -62,7 +62,7 @@ function graph_get_font() { $t_font_path = get_font_path(); - if( empty($sroot) ) { + if( empty($t_font_path) ) { error_text('unable to load font(s)', 'unable to load font(s)'); } $f = $t_font_path . $t_font;