From: Eric Bollengier Date: Mon, 18 Apr 2011 19:00:19 +0000 (+0200) Subject: bweb: Fix configuration loading problem X-Git-Tag: Release-5.2.1~471 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=166f3f6a4ed637a240bf9eb1437c2ed656d7b3ea;p=bacula%2Fbacula bweb: Fix configuration loading problem --- diff --git a/gui/bweb/lib/Bweb.pm b/gui/bweb/lib/Bweb.pm index b938c19fc7..bdafca9e5e 100644 --- a/gui/bweb/lib/Bweb.pm +++ b/gui/bweb/lib/Bweb.pm @@ -305,7 +305,7 @@ sub load # keep a backup of the original config foreach my $k (keys %$VAR1) { if (exists $k_re{$k} and defined $VAR1->{$k}) { - $self->{main_conf}->{$k} = $VAR1->{$k}; + $self->{$k} = $VAR1->{$k}; } } return 1;