summaryrefslogtreecommitdiff
path: root/src/ste/Scope.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/ste/Scope.php')
-rw-r--r--src/ste/Scope.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ste/Scope.php b/src/ste/Scope.php
index afb2bfc..15d7d6c 100644
--- a/src/ste/Scope.php
+++ b/src/ste/Scope.php
@@ -184,7 +184,7 @@ class Scope implements \ArrayAccess
public function offsetExists($offset)
{
try {
- $this->get_topvar_reference($offset);
+ $this->get_topvar_reference($offset, false);
return true;
} catch (VarNotInScope $e) {
return false;