From: Jonathan Prykop Date: Tue, 29 Nov 2016 08:46:10 +0000 (-0600) Subject: Bug fix to #73185, discovered via #71513 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=9605850e1b105d527961a0766ec05840b3d6962e;p=freeside.git Bug fix to #73185, discovered via #71513 --- diff --git a/FS/FS/Cron/tax_rate_update.pm b/FS/FS/Cron/tax_rate_update.pm index b6ac63c2e..fec696fbb 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;