projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
master will be 4.0
[freeside.git]
/
FS
/
FS
/
svc_Radius_Mixin.pm
diff --git
a/FS/FS/svc_Radius_Mixin.pm
b/FS/FS/svc_Radius_Mixin.pm
index
ac97eab
..
544c7e9
100644
(file)
--- a/
FS/FS/svc_Radius_Mixin.pm
+++ b/
FS/FS/svc_Radius_Mixin.pm
@@
-68,7
+68,8
@@
sub replace {
$old->usergroup; # make sure this is cached for exports
$old->usergroup; # make sure this is cached for exports
- my $error = $new->process_m2m(
+ my $error = $new->check # make sure fixed fields are set before process_m2m
+ || $new->process_m2m(
'link_table' => 'radius_usergroup',
'target_table' => 'radius_group',
'params' => $new->usergroup,
'link_table' => 'radius_usergroup',
'target_table' => 'radius_group',
'params' => $new->usergroup,