Apparently deleting elements from svc_Common->hashref is bad.
authorkhoff <khoff>
Thu, 24 Apr 2003 01:00:42 +0000 (01:00 +0000)
committerkhoff <khoff>
Thu, 24 Apr 2003 01:00:42 +0000 (01:00 +0000)
FS/FS/part_export/sqlmail.pm

index 0c0cb36..f97674c 100644 (file)
@@ -142,7 +142,7 @@ sub update_values {
   # Update records to conform to a particular server_type.
 
   my ($self, $svc, $svcdb) = (shift,shift,shift);
-  my $svchash = $svc->hashref or return '';
+  my $svchash = { %{$svc->hashref} } or return ''; # We need a copy.
 
   if ($svcdb eq 'svc_acct') {
     if ($self->option('server_type') eq 'courier_crypt') {