]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Extract when= from get_form() more smoothly
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 13 Dec 2007 08:53:01 +0000 (08:53 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 13 Dec 2007 08:53:01 +0000 (08:53 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6050 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/lib/Bweb.pm
gui/bweb/technotes-2.3

index 80d03e78628aae5c19d7f479ec5d36cacf9bec3e..f5c1a2a03bbd27b20c04aaf19152d9e6034b8f9e 100644 (file)
@@ -1756,7 +1756,7 @@ sub get_form
 
     if ($what{when}) {
        my $when = CGI::param('when') || '';
-       if ($when =~ /^(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})$/) {
+       if ($when =~ /(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})/) {
            $ret{when} = $1;
        }
     }
index d2b66b0691d2440f8b39f2078ca57c920b929e54..868618718c45e3cf974b25e3d555e7879cd99fe6 100644 (file)
@@ -1,3 +1,6 @@
+13Dec07
+ebl  Try to extract when= from get_form() more smoothly
+
 06Dec07
 ebl  Add Bweb::Schedule Object to parse show schedule output.
      Now, we can make ical events for example...