don't check that agent is allowed to purchase the package on changes
authorivan <ivan>
Wed, 1 Dec 2004 18:49:21 +0000 (18:49 +0000)
committerivan <ivan>
Wed, 1 Dec 2004 18:49:21 +0000 (18:49 +0000)
FS/FS/cust_pkg.pm

index 1f1ae40..630e88e 100644 (file)
@@ -194,6 +194,8 @@ sub replace {
 
   #some logic for bill, susp, cancel?
 
+  local($disable_agentcheck) = 1 if $old->pkgpart == $new->pkgpart;
+
   $new->SUPER::replace($old);
 }