From 2bcc908d69b80617dffdbe421d984245e5d50af8 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 19 Sep 2006 17:08:30 +0000 Subject: [PATCH] ebl bugfix git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3484 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/lib/Bweb.pm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gui/bweb/lib/Bweb.pm b/gui/bweb/lib/Bweb.pm index 7891371ad4..d5a2af7fe8 100644 --- a/gui/bweb/lib/Bweb.pm +++ b/gui/bweb/lib/Bweb.pm @@ -2281,7 +2281,7 @@ sub do_update_media $update .= " Slot=0, "; } } else { - $update = " Slot=0, InChanger=0, "; + $update .= " Slot=0, InChanger=0, "; } my $pool = CGI::param('pool') || ''; @@ -2622,10 +2622,7 @@ WHERE Media.VolumeName IN ($arg->{jmedias}) foreach my $vol (values %$all) { my $a = $self->ach_get($vol->{location}); - unless ($a) { - $self->error("Can't find autochanger $vol->{location}"); - next; - } + next unless ($a) ; unless ($a->{have_status}) { $a->status(); -- 2.39.5