Skip to content

Commit

Permalink
Allow scoped and simple variables to coexist with each other.
Browse files Browse the repository at this point in the history
  • Loading branch information
racke committed Mar 12, 2011
1 parent d4544be commit 016a4d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Template/Zoom.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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}};
Expand Down

0 comments on commit 016a4d5

Please sign in to comment.