From 78c95c09f05e4fa12b66bd27714ce4889a892c21 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 3 Oct 2013 22:30:58 +0200 Subject: Fixed referencing and constants. * Creating a varaible reference at call time is not possbile any more. * When defining a constant, we pass the name as a string now. --- ratatoeskr/frontend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratatoeskr/frontend.php') diff --git a/ratatoeskr/frontend.php b/ratatoeskr/frontend.php index 76b0afc..9c43ec5 100644 --- a/ratatoeskr/frontend.php +++ b/ratatoeskr/frontend.php @@ -665,7 +665,7 @@ function make_on_anything_tag($field) { return function($ste, $params, $sub) use ($field) { - if($ste->evalbool($ste->vars["current"][$field])) + if($ste->evalbool(@$ste->vars["current"][$field])) { if(!empty($params["var"])) $ste->set_var_by_name($params["var"], $ste->vars["current"][$field]); -- cgit v1.2.3-54-g00ecf