X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fsvc_domain.pm;h=4dd6342c7b754bd97cb125d3e6499cb0d1560dcb;hp=c88b3e6683171d45f7310f901b6b4fe29c8b8502;hb=6af03ca1ad3c06aa1e7affb634bb0640b139dd6d;hpb=6004e9f3ed07a72f6a4c0f24e326b89acc859a45 diff --git a/FS/FS/svc_domain.pm b/FS/FS/svc_domain.pm index c88b3e668..4dd6342c7 100644 --- a/FS/FS/svc_domain.pm +++ b/FS/FS/svc_domain.pm @@ -256,6 +256,8 @@ sub replace { return "Can't change domain - reorder." if $old->getfield('domain') ne $new->getfield('domain'); + # Better to do it here than to force the caller to remember that svc_domain is weird. + $new->setfield(action => 'M'); my $error = $new->SUPER::replace($old); return $error if $error; }