fix bug in freeside_description_default.pm, RT12078
authorlevinse <levinse>
Mon, 9 May 2011 18:46:06 +0000 (18:46 +0000)
committerlevinse <levinse>
Mon, 9 May 2011 18:46:06 +0000 (18:46 +0000)
FS/FS/cdr/freeside_description_default.pm

index 400c24b..97af73d 100644 (file)
@@ -47,7 +47,7 @@ use FS::cdr;
     # Duration
     sub {
         my($cdr, $duration) = @_;
-        $duration =~ /^(\d{1,2})m (\d{1,2})s$/
+        $duration =~ /^(\d{1,3})m (\d{1,2})s$/
             or die "unparsable duration: $duration"; #maybe we shouldn't die...
         my $sec = $1*60 + $2;
         $cdr->duration($sec);