fix non-usage invoice details, fallout from #15535
authormark <mark>
Wed, 4 Jan 2012 21:09:49 +0000 (21:09 +0000)
committermark <mark>
Wed, 4 Jan 2012 21:09:49 +0000 (21:09 +0000)
FS/FS/cust_bill_pkg.pm

index 7406eda..1a99f6a 100644 (file)
@@ -360,7 +360,7 @@ sub regularize_details {
         # then turn it into one
         my %hash = ();
         if ( ! ref($detail) ) {
-          $hash{'detail'} = 'detail';
+          $hash{'detail'} = $detail;
         }
         elsif ( ref($detail) eq 'HASH' ) {
           %hash = %$detail;