diff options
Diffstat (limited to 'it_text.class')
-rw-r--r-- | it_text.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_text.class b/it_text.class index 1ff7a51..7a0f0dd 100644 --- a/it_text.class +++ b/it_text.class @@ -242,7 +242,7 @@ function transmogrify($text, $values = null, $label = null) it::error(array('title' => "No value given for text variable {" . $key ."} in label $label", 'backtraceskip' => 3)); } - $result .= $value; + $result .= $GLOBALS['debug_texts'] ? "</span>$value<span style='background:#8F8'>" : $value; } else $result .= $part; |