[freeside-commits] branch FREESIDE_3_BRANCH updated. 7d0e42b9cf20e333c9cdfdfe1d4071483ed0aa5e
Mitch Jackson
mitch at freeside.biz
Thu Mar 1 15:05:32 PST 2018
The branch, FREESIDE_3_BRANCH has been updated
via 7d0e42b9cf20e333c9cdfdfe1d4071483ed0aa5e (commit)
from 48e8d2b117146ea7ad78ada15701226c89ad95d5 (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 7d0e42b9cf20e333c9cdfdfe1d4071483ed0aa5e
Author: Mitch Jackson <mitch at freeside.biz>
Date: Thu Mar 1 23:05:02 2018 +0000
Syntax correction
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index fea05683d..7f1108f00 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -2844,7 +2844,7 @@ sub change_later {
# Apply user-specified discount to new cust_pkg
$error = $err_or_pkg->change_discount(\%discount)
- if !$error && %discount && %discount{discountnum} =~ /^-?\d+$/;
+ if !$error && %discount && $discount{discountnum} =~ /^-?\d+$/;
} else {
$error = $err_or_pkg;
}
@@ -2855,7 +2855,7 @@ sub change_later {
# Apply user-specified discount to new cust_pkg
$error = $change_to->change_discount(\%discount)
- if !$error && %discount && %discount{discountnum} =~ /^-?\d+$/;
+ if !$error && %discount && $discount{discountnum} =~ /^-?\d+$/;
}
if ( $error ) {
$dbh->rollback if $oldAutoCommit;
@@ -2898,7 +2898,7 @@ sub change_later {
# Apply user-specified discount to new cust_pkg
$new->change_discount(\%discount)
- if !$error && %discount && %discount{discountnum} =~ /^-?\d+$/;
+ if !$error && %discount && $discount{discountnum} =~ /^-?\d+$/;
if ( $error ) {
$dbh->rollback if $oldAutoCommit;
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_pkg.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
More information about the freeside-commits
mailing list