From: Eric Bollengier Date: Wed, 5 Aug 2009 09:09:47 +0000 (+0200) Subject: in bweb, fix warning X-Git-Tag: Release-5.0.0~336^2~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e38846e017bdeafc7301c5a4b25e717f833a51fb;p=bacula%2Fbacula in bweb, fix warning --- 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); }