aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/frontend.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-10-03 22:30:58 +0200
committerKevin Chabowski <kevin@kch42.de>2013-10-03 22:30:58 +0200
commit78c95c09f05e4fa12b66bd27714ce4889a892c21 (patch)
tree7827469ff419391efec3271576395d567ec5bc4f /ratatoeskr/frontend.php
parentb302319e6c62f6b31d53197a08134c6c9bf8735b (diff)
downloadratatoeskr-cms-78c95c09f05e4fa12b66bd27714ce4889a892c21.tar.gz
ratatoeskr-cms-78c95c09f05e4fa12b66bd27714ce4889a892c21.tar.bz2
ratatoeskr-cms-78c95c09f05e4fa12b66bd27714ce4889a892c21.zip
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.
Diffstat (limited to 'ratatoeskr/frontend.php')
-rw-r--r--ratatoeskr/frontend.php2
1 files changed, 1 insertions, 1 deletions
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]);