diff options
author | ivan <ivan> | 2010-01-06 04:47:48 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-01-06 04:47:48 +0000 |
commit | 90c18c7cbe323bf4072335745d250cd0fbdd5f5e (patch) | |
tree | b429f24081ca8edab47b4e7cd86a38b7965444b9 | |
parent | 59dedfd6c5b60665ecc7ea9e6e07ea45e5fdfcdd (diff) |
eliminate spurious warnings on usage changes...
-rw-r--r-- | FS/FS/svc_acct.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 19f292157..c5da82da5 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -2122,8 +2122,8 @@ sub set_usage { #$self->snapshot; #not necessary, we retain the old values #create an object with the updated usage values my $new = qsearchs('svc_acct', { 'svcnum' => $self->svcnum }); - #call exports - my $error = $new->replace($self); + local($FS::Record::nowarn_identical) = 1; + my $error = $new->replace($self); #call exports if ( $error ) { $dbh->rollback if $oldAutoCommit; return "Error replacing: $error"; |