From be39d08797f291b720c7ca044f2be7a1a08eb466 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Tue, 14 Aug 2012 17:13:45 -0700 Subject: [PATCH] fix typo --- FS/FS/cust_pkg.pm | 7 ++++--- 1 file 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" : '' ), ], -- 2.11.0