]> git.sur5r.net Git - bacula/bacula/commitdiff
bweb: Fix configuration loading problem
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 18 Apr 2011 19:00:19 +0000 (21:00 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:44:34 +0000 (14:44 +0200)
gui/bweb/lib/Bweb.pm

index b938c19fc7743e273a7ddaa09afaa07a777952b3..bdafca9e5e45725cacc6e07797d6a58514501b4a 100644 (file)
@@ -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;