[freeside-commits] branch FREESIDE_2_3_BRANCH updated. be39d08797f291b720c7ca044f2be7a1a08eb466

Mark Wells mark at 420.am
Tue Aug 14 17:14:53 PDT 2012


The branch, FREESIDE_2_3_BRANCH has been updated
       via  be39d08797f291b720c7ca044f2be7a1a08eb466 (commit)
      from  4615cc768db4cc0bf310fa7f349b69d13a6afef9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit be39d08797f291b720c7ca044f2be7a1a08eb466
Author: Mark Wells <mark at freeside.biz>
Date:   Tue Aug 14 17:13:45 2012 -0700

    fix typo

diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index d340dc0..586abcb 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"
           : ''
         ),
       ],

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_pkg.pm |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list