aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorribet2007-09-12 13:30:05 +0000
committerribet2007-09-12 13:30:05 +0000
commit1058aa0b4f1b0ceb142cc98e612a0e728411c20c (patch)
tree4e6245452d1446dd5fc6eb5b962037551eb81db0
parent2b7266dc0591818d289ff215fff8acd031de7366 (diff)
downloadmtc-1058aa0b4f1b0ceb142cc98e612a0e728411c20c.zip
mtc-1058aa0b4f1b0ceb142cc98e612a0e728411c20c.tar.gz
mtc-1058aa0b4f1b0ceb142cc98e612a0e728411c20c.tar.bz2
mtc-1058aa0b4f1b0ceb142cc98e612a0e728411c20c.tar.xz
Fixing parent group for objects returned by minstance.
-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};
}
}