diff --git a/lib/Template/Zoom.pm b/lib/Template/Zoom.pm index 460d764..8395a5a 100644 --- a/lib/Template/Zoom.pm +++ b/lib/Template/Zoom.pm @@ -306,6 +306,9 @@ sub value { if (exists $value->{scope}) { $raw_value = $self->{values}->{$value->{scope}}->{$value->{name}}; } + else { + $raw_value = $self->{values}->{$value->{name}}; + } } else { $raw_value = $self->{values}->{$value->{name}};