From: Eric Bollengier Date: Sat, 14 Oct 2006 08:22:42 +0000 (+0000) Subject: ebl cleanup last fix X-Git-Tag: Release-2.0.0~361 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d7fa8f10c2df598e5a49a2d82e401098605859f6;p=bacula%2Fbacula ebl cleanup last fix git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3556 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/bweb/lib/Bweb.pm b/gui/bweb/lib/Bweb.pm index 956b9b5d48..7418ea7d74 100644 --- a/gui/bweb/lib/Bweb.pm +++ b/gui/bweb/lib/Bweb.pm @@ -2456,7 +2456,7 @@ LEFT JOIN Pool ON (Pool.PoolId = subq.PoolId) my $all = $self->dbh_selectall_hashref($query, 'name') ; foreach my $p (values %$all) { - if ($p->{volmax} && $p->{volmax} > 0) { # mysql returns 0.0000 + if ($p->{volmax} > 0) { # mysql returns 0.0000 $p->{poolusage} = sprintf('%.2f', $p->{voltotal} * 100/ $p->{volmax}) ; } else { $p->{poolusage} = 0;