From 5d111133f98aede8979675e70b8f01e00439d59a 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