diff options
author | jayce <jayce> | 2007-10-17 16:07:59 +0000 |
---|---|---|
committer | jayce <jayce> | 2007-10-17 16:07:59 +0000 |
commit | 268392734dc3a0ef3f81cc30343696395d566af6 (patch) | |
tree | fb0e28cd7fc8794583d5307a18303dc33d3c8d46 | |
parent | db59804f62ce86823a2fa22d707f455fb57b53d3 (diff) |
insert_reason only worked if you passed in an existing reason, the code to insert a new reason was in place, but didn't let the new reason get used. Code to do this was already in place, just not utilized.
-rw-r--r-- | FS/FS/cust_pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index a37abe239..e09b8ab62 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -1724,7 +1724,7 @@ sub insert_reason { my $cust_pkg_reason = new FS::cust_pkg_reason({ 'pkgnum' => $self->pkgnum, - 'reasonnum' => $options{'reason'}, + 'reasonnum' => $reasonnum, 'otaker' => $otaker, 'date' => $options{'date'} ? $options{'date'} |