From e38846e017bdeafc7301c5a4b25e717f833a51fb Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 5 Aug 2009 11:09:47 +0200 Subject: [PATCH] in bweb, fix warning --- gui/bweb/cgi/bgraph.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/bweb/cgi/bgraph.pl b/gui/bweb/cgi/bgraph.pl index dd3b22e841..c3e429d950 100755 --- a/gui/bweb/cgi/bgraph.pl +++ b/gui/bweb/cgi/bgraph.pl @@ -228,7 +228,7 @@ sub get_graph ], @options, ); - if (-f $conf->{graph_font}) { + if ($conf->{graph_font} && -f $conf->{graph_font}) { $graph->set_title_font([$conf->{graph_font}], 12); $graph->set_legend_font([$conf->{graph_font}], 11); } -- 2.39.5