diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-11-29 02:46:10 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-11-29 02:46:10 -0600 |
commit | 4cc0d96d34316ac01d2e204905bbe8de8dcd1469 (patch) | |
tree | 67f474e78750886252476d4a70830aafd11e0924 /FS/FS/Cron | |
parent | 7c5f50804027577aac17d0fcefedcd0d0b6ca180 (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; |