[freeside-commits] branch master updated. 55a9939e17ab945d00336317b9842f17cc27ba6e

David F. Houghton houghton at 420.am
Wed Sep 10 12:56:43 PDT 2014


The branch, master has been updated
       via  55a9939e17ab945d00336317b9842f17cc27ba6e (commit)
       via  15b214cb34630925ff42e4252b74403fff77e7c0 (commit)
      from  67622d2fde244b52fdca6a4ba4b98e2453f7986a (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 55a9939e17ab945d00336317b9842f17cc27ba6e
Merge: 15b214c 67622d2
Author: David Houghton <houghton at freeside.biz>
Date:   Wed Sep 10 15:54:31 2014 -0400

    Merge branch 'master' of git+ssh://git.freeside.biz/home/git/freeside
    
    Making my local master match the remote.


commit 15b214cb34630925ff42e4252b74403fff77e7c0
Author: David Houghton <houghton at freeside.biz>
Date:   Wed Sep 10 15:52:31 2014 -0400

    ticket: 28287; adding parens to sprintf
    
    Mark didn't like the sprintf without parens, so I'm fixing it.

diff --git a/FS/FS/part_pkg/discount_Mixin.pm b/FS/FS/part_pkg/discount_Mixin.pm
index 3bff35a..0063567 100644
--- a/FS/FS/part_pkg/discount_Mixin.pm
+++ b/FS/FS/part_pkg/discount_Mixin.pm
@@ -183,7 +183,7 @@ sub calc_discount {
     }
 
     push @$details, $d;
-    push @$details, sprintf $format, $money_char, $br;
+    push @$details, sprintf( $format, $money_char, $br );
 
     $tot_discount += $amount;
   }

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

Summary of changes:
 FS/FS/part_pkg/discount_Mixin.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list