aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/MTools.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/MTools.pm b/src/MTools.pm
index 6c1ee9b..22d4ad9 100644
--- a/src/MTools.pm
+++ b/src/MTools.pm
@@ -696,12 +696,14 @@ sub minstance {
}
else
{
+ chggroup ($obj, $parent);
return $obj;
}
}
}
else
{
+ $obj -> chggroup ($parent);
return $obj -> {instance};
}
}