From 5ac0692bfeabd57bf930702f6d5f4b55da7be5a1 Mon Sep 17 00:00:00 2001 From: levinse Date: Mon, 9 May 2011 18:46:06 +0000 Subject: [PATCH] fix bug in freeside_description_default.pm, RT12078 --- FS/FS/cdr/freeside_description_default.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cdr/freeside_description_default.pm b/FS/FS/cdr/freeside_description_default.pm index 400c24b82..97af73d77 100644 --- a/FS/FS/cdr/freeside_description_default.pm +++ b/FS/FS/cdr/freeside_description_default.pm @@ -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); -- 2.11.0