diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/MTools.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MTools.pm b/src/MTools.pm index 22d4ad9..914df7c 100644 --- a/src/MTools.pm +++ b/src/MTools.pm @@ -696,14 +696,14 @@ sub minstance { } else { - chggroup ($obj, $parent); + chggroup ($obj, $parent) if defined $parent; return $obj; } } } else { - $obj -> chggroup ($parent); + $obj -> chggroup ($parent) if defined $parent; return $obj -> {instance}; } } |