Skip to content

Commit

Permalink
fixed check leading to "can't find fonts" message
Browse files Browse the repository at this point in the history
  • Loading branch information
thraxisp committed Jul 7, 2009
1 parent b1e8cc0 commit b5f79b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/MantisGraph/core/graph_api.php
Expand Up @@ -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;
Expand Down

0 comments on commit b5f79b9

Please sign in to comment.