From 912cc286fa1757eca02caef9d57742f8098486af Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Tue, 14 Jul 2015 18:03:01 +0000 Subject: [PATCH] Fix exception message in Context::_findVariableInContext Fixes #129 --- src/Handlebars/Context.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Handlebars/Context.php b/src/Handlebars/Context.php index 7ca5809..e7c84c7 100644 --- a/src/Handlebars/Context.php +++ b/src/Handlebars/Context.php @@ -288,7 +288,7 @@ class Context throw new \InvalidArgumentException( sprintf( 'Can not find variable in context: "%s"', - var_export($variable, true) + $inside ) ); }