From fbf7e5065b6e60a6b9bbba930f1148663f59ed32 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 16 Sep 2011 09:30:00 +0000 Subject: Remove unnecessary references which lead to bugs with arrays/objects e.g. in calyptratus_module_H --- it_text.class | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'it_text.class') diff --git a/it_text.class b/it_text.class index edfdd43..9c492ea 100644 --- a/it_text.class +++ b/it_text.class @@ -226,9 +226,9 @@ function transmogrify($text, $values = null) foreach (explode(".", $part) as $key) { if (is_object($value)) - $value =& $value->$key; + $value = $value->$key; else - $value =& $value[$key]; + $value = $value[$key]; } $result .= $value; -- cgit v1.2.3