summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-08-14 17:13:45 -0700
committerMark Wells <mark@freeside.biz>2012-08-14 17:13:45 -0700
commitbe39d08797f291b720c7ca044f2be7a1a08eb466 (patch)
tree1823c16ffbae725da1f461c490cf6d0752191e6d /FS
parent4615cc768db4cc0bf310fa7f349b69d13a6afef9 (diff)
fix typo
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_pkg.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index d340dc0d6..586abcb94 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -1399,7 +1399,7 @@ sub unsuspend {
if $reason->unsuspend_hold;
if ( $part_pkg ) {
- my $unsusp_pkg = FS::cust_pkg->new({
+ $unsusp_pkg = FS::cust_pkg->new({
'custnum' => $self->custnum,
'pkgpart' => $reason->unsuspend_pkgpart,
'start_date' => $start_date,
@@ -1429,8 +1429,9 @@ sub unsuspend {
'Customer: #'. $self->custnum. ' '. $self->cust_main->name. "\n",
'Package : #'. $self->pkgnum. " (". $self->part_pkg->pkg_comment. ")\n",
( map { "Service : $_\n" } @labels ),
- ($unsusp_pkg ?
- "An unsuspension fee was charged: Package #".$unsusp_pkg->pkgnum.".\n"
+ ($unsusp_pkg ?
+ "An unsuspension fee was charged: ".
+ $unsusp_pkg->part_pkg->pkg_comment."\n"
: ''
),
],