no need for these indices
[freeside.git] / FS / FS / cust_pkg.pm
index f56e1f0..ea29a2c 100644 (file)
@@ -338,6 +338,9 @@ sub insert {
 
   if ( $conf->config('ticket_system') && $options{ticket_subject} ) {
 
+    #this init stuff is still inefficient, but at least its limited to 
+    # the small number (any?) folks using ticket emailing on pkg order
+
     #eval '
     #  use lib ( "/opt/rt3/local/lib", "/opt/rt3/lib" );
     #  use RT;
@@ -1493,8 +1496,8 @@ sub unsuspend {
         'Package : #'. $self->pkgnum. " (". $self->part_pkg->pkg_comment. ")\n",
         ( map { "Service : $_\n" } @labels ),
         ($unsusp_pkg ?
-          "An unsuspension fee was charged: Package #".$unsusp_pkg->pkgnum.
-            " (.".$unsusp_pkg->pkg_comment.")\n"
+          "An unsuspension fee was charged: ".
+            $unsusp_pkg->part_pkg->pkg_comment."\n"
           : ''
         ),
       ],