[freeside-commits] branch FREESIDE_4_BRANCH updated. eee05625882e16aedeed215dc860d3a9f815148d
Mark Wells
mark at 420.am
Fri Jun 12 17:59:21 PDT 2015
The branch, FREESIDE_4_BRANCH has been updated
via eee05625882e16aedeed215dc860d3a9f815148d (commit)
from 75a203f93f4f2f455561c3151c4b6b2f576dc082 (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 eee05625882e16aedeed215dc860d3a9f815148d
Author: Mark Wells <mark at freeside.biz>
Date: Fri Jun 12 17:31:57 2015 -0700
fix autocommit in part_pkg_link->insert/delete, #36784
diff --git a/FS/FS/part_pkg_link.pm b/FS/FS/part_pkg_link.pm
index 8e43d15..ce071ef 100644
--- a/FS/FS/part_pkg_link.pm
+++ b/FS/FS/part_pkg_link.pm
@@ -130,6 +130,7 @@ sub insert {
return $error if $error;
}
+ $dbh->commit if $oldAutoCommit;
return;
}
@@ -166,7 +167,7 @@ sub delete {
$dbh->rollback if $oldAutoCommit;
return $error;
}
- $dbh->commit;
+ $dbh->commit if $oldAutoCommit;
return;
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/part_pkg_link.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list