summaryrefslogtreecommitdiff
path: root/FS/FS/part_pkg_usage.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-05-15 19:16:43 -0700
committerMark Wells <mark@freeside.biz>2014-05-15 19:16:43 -0700
commit726ceca7c0810b7f9c1e888a7880fd1dfb749c2e (patch)
treeb657d1a4c81d3f7c30e7c0e4d84bdb030dd64669 /FS/FS/part_pkg_usage.pm
parentcd5882bb376d0e46f97d760072311b912f921e26 (diff)
allow non-integer minutes in CDR usage pools, #5738, see also #28308
Diffstat (limited to 'FS/FS/part_pkg_usage.pm')
-rw-r--r--FS/FS/part_pkg_usage.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_pkg_usage.pm b/FS/FS/part_pkg_usage.pm
index 008a2a9..b19c63d 100644
--- a/FS/FS/part_pkg_usage.pm
+++ b/FS/FS/part_pkg_usage.pm
@@ -116,7 +116,7 @@ sub check {
my $error =
$self->ut_numbern('pkgusagepart')
|| $self->ut_foreign_key('pkgpart', 'part_pkg', 'pkgpart')
- || $self->ut_number('minutes')
+ || $self->ut_float('minutes')
|| $self->ut_numbern('priority')
|| $self->ut_flag('shared')
|| $self->ut_flag('rollover')