From: Eric Bollengier Date: Thu, 4 Nov 2010 16:55:21 +0000 (+0100) Subject: bweb: Fix bad regexp in btime X-Git-Tag: Release-5.2.1~946 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=92aa09d615dd69ecc7b901e511fb8824c4ad4718;p=bacula%2Fbacula bweb: Fix bad regexp in btime --- diff --git a/gui/bweb/cgi/btime.pl b/gui/bweb/cgi/btime.pl index 9cd8a7f64c..f264828f79 100755 --- a/gui/bweb/cgi/btime.pl +++ b/gui/bweb/cgi/btime.pl @@ -204,7 +204,7 @@ foreach my $elt (@$all) # end => $elt->[1], # }; # - } elsif ($elt->[2] =~ /(?:$regs{get_drive}) "([\w\d\s-\.]+)"/) { + } elsif ($elt->[2] =~ /(?:$regs{get_drive}) "([\w\d\s\-\.]+)"/) { $drive = $1; } elsif ($elt->[2] =~ /(?:$regs{data_despool_time}).*? = (\d+):(\d+):(\d+)/) {