]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl cleanup last fix
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 14 Oct 2006 08:22:42 +0000 (08:22 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sat, 14 Oct 2006 08:22:42 +0000 (08:22 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3556 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/lib/Bweb.pm

index 956b9b5d48878fb66c9dab05f72ec53a4d4e1e4c..7418ea7d748a98fe687b2bd6612fb84caaf2d6c1 100644 (file)
@@ -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;