summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-09-06 20:15:46 -0700
committerMark Wells <mark@freeside.biz>2016-09-06 20:15:46 -0700
commit4fd97fe8a23cbe875600b838f01a9ed10641f61e (patch)
tree6a85739e867c255d6afea544b7d8367dd0918571 /bin
parentacfce7fca2901c4a9a4c1dadbd101b84e5669173 (diff)
fix matching by classnum, #72355
Diffstat (limited to 'bin')
-rwxr-xr-xbin/taqua-accountcode-rewrite2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/taqua-accountcode-rewrite b/bin/taqua-accountcode-rewrite
index 386fc9dd3..e6d579013 100755
--- a/bin/taqua-accountcode-rewrite
+++ b/bin/taqua-accountcode-rewrite
@@ -116,7 +116,7 @@ while (my $cdr = $cursor->fetch) {
# source number, and start and end dates
$detail = qsearchs('cust_bill_pkg_detail', {
'amount' => $primary->rated_price,
- 'classnum' => $cdr->rated_classnum,
+ 'classnum' => $primary->rated_classnum,
'duration' => $primary->rated_seconds,
'startdate' => $primary->startdate,
'format' => 'C',