don't check that agent is allowed to purchase the package on changes
[freeside.git] / 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);
 }