From 2481621a8516ba69c177b27db003cc658af5b1c4 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 4 Mar 2015 16:09:58 +0100 Subject: correct background color for unquoted ET() values in .texts debug --- it_text.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_text.class') 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'] ? "$value" : $value; } else $result .= $part; -- cgit v1.2.3