diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-11-29 02:46:10 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-11-29 05:07:58 -0600 |
commit | 9605850e1b105d527961a0766ec05840b3d6962e (patch) | |
tree | 75e49227886e61fcaee4d69b720e1e0ad59351f3 /FS/FS/Cron | |
parent | e328428724f2274144fb3e33704131ba70d20016 (diff) |
Bug fix to #73185, discovered via #71513
Diffstat (limited to 'FS/FS/Cron')
-rwxr-xr-x | FS/FS/Cron/tax_rate_update.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Cron/tax_rate_update.pm b/FS/FS/Cron/tax_rate_update.pm index b6ac63c..fec696f 100755 --- a/FS/FS/Cron/tax_rate_update.pm +++ b/FS/FS/Cron/tax_rate_update.pm @@ -31,7 +31,7 @@ sub tax_rate_update { my %opt = @_; my $oldAutoCommit = $FS::UID::AutoCommit; - $FS::UID::AutoCommit = 0; + local $FS::UID::AutoCommit = 0; my $dbh = dbh; my $conf = FS::Conf->new; |