aboutsummaryrefslogtreecommitdiffstats
path: root/Visitor/Compiler.php
diff options
context:
space:
mode:
Diffstat (limited to 'Visitor/Compiler.php')
-rw-r--r--Visitor/Compiler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Visitor/Compiler.php b/Visitor/Compiler.php
index 4c52a70..1889253 100644
--- a/Visitor/Compiler.php
+++ b/Visitor/Compiler.php
@@ -314,7 +314,7 @@ class Compiler implements \Hoa\Visitor\Visit {
'\'))';
else
$out .= 'variable($' . $holder->getClause()->getId() .
- '[\'' . $holder->getName() . '\'])';
+ '->getVariable(\'' . $holder->getName() . '\', true))';
}
else