From 68dbd349495d4ffdf84c03e30cccc6c1fa5e963f Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 13 Nov 2008 01:30:40 +0000 Subject: show empty texts --- it_text.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it_text.class b/it_text.class index 247369d..cfbfa01 100644 --- a/it_text.class +++ b/it_text.class @@ -139,7 +139,7 @@ function text($label, $language = null) } if ($GLOBALS['debug_texts'] && !eregi('submit|reset|button|_search$|service|claim', $label)) - $text = "1, 'skipfiles'=>"text|auto_prepend")) . ")'>$text"; + $text = "1, 'skipfiles'=>"text|auto_prepend")) . ")'>" . ($text ? $text : $label) . ""; return $text; } -- cgit v1.2.3