From: Eric Bollengier Date: Mon, 18 Apr 2011 19:00:19 +0000 (+0200) Subject: bweb: Fix configuration loading problem X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e0b228930dea79088cd6fdc69f636eef3b8fa7f1;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;