diff options
-rw-r--r-- | it_text.class | 4 |
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; |