diff options
author | Mark Wells <mark@freeside.biz> | 2014-05-15 19:16:43 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-05-15 19:16:43 -0700 |
commit | 726ceca7c0810b7f9c1e888a7880fd1dfb749c2e (patch) | |
tree | b657d1a4c81d3f7c30e7c0e4d84bdb030dd64669 /FS/FS/part_pkg_usage.pm | |
parent | cd5882bb376d0e46f97d760072311b912f921e26 (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.pm | 2 |
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') |