aboutsummaryrefslogtreecommitdiff
path: root/src/MTools.pm
diff options
context:
space:
mode:
Diffstat (limited to 'src/MTools.pm')
-rw-r--r--src/MTools.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MTools.pm b/src/MTools.pm
index 4b24c74..067fa36 100644
--- a/src/MTools.pm
+++ b/src/MTools.pm
@@ -469,8 +469,8 @@ sub tset {
}
sub tget {
- my ($obj) = @_;
- return $zinc -> tget (ref ($obj) eq '' ? $obj : $obj -> {instance});
+ my ($obj, $ref) = @_;
+ return $zinc -> tget (ref ($obj) eq '' ? $obj : $obj -> {instance}, $ref);
}
sub treset {