summaryrefslogtreecommitdiff
path: root/it_text.class
diff options
context:
space:
mode:
authorChristian Schneider2011-09-16 09:30:00 +0000
committerChristian Schneider2011-09-16 09:30:00 +0000
commitfbf7e5065b6e60a6b9bbba930f1148663f59ed32 (patch)
treeaf71181034dc1c936e12e83ce867868ecd9d89d6 /it_text.class
parent7e38669f2aa8f10819551ea90e0c9a7ac4970072 (diff)
downloaditools-fbf7e5065b6e60a6b9bbba930f1148663f59ed32.tar.gz
itools-fbf7e5065b6e60a6b9bbba930f1148663f59ed32.tar.bz2
itools-fbf7e5065b6e60a6b9bbba930f1148663f59ed32.zip
Remove unnecessary references which lead to bugs with arrays/objects e.g. in calyptratus_module_H
Diffstat (limited to 'it_text.class')
-rw-r--r--it_text.class4
1 files changed, 2 insertions, 2 deletions
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;