fix bad bug in line item generation RT#10024
[freeside.git] / FS / FS / cust_main.pm
index fa06344..7a0c7d6 100644 (file)
@@ -2803,8 +2803,7 @@ sub bill {
     } elsif ( $postal_pkg ) {
 
       my $real_pkgpart = $postal_pkg->pkgpart;
-      # we could implement this bit as FS::part_pkg::has_hidden, but we alre
-ady
+      # we could implement this bit as FS::part_pkg::has_hidden, but we already
       # suffer from performance issues
       $options{has_hidden} = 0;
       my @part_pkg = $postal_pkg->part_pkg->self_and_bill_linked;
@@ -3216,7 +3215,7 @@ sub _make_lines {
   # If $cust_pkg has been modified, update it (if we're a real pkgpart)
   ###
 
-  if ( $lineitems || $options{has_hidden} ) {
+  if ( $lineitems ) {
 
     if ( $cust_pkg->modified && $cust_pkg->pkgpart == $real_pkgpart ) {
       # hmm.. and if just the options are modified in some weird price plan?