diff options
| author | Urban Müller | 2008-11-13 01:30:40 +0000 | 
|---|---|---|
| committer | Urban Müller | 2008-11-13 01:30:40 +0000 | 
| commit | 68dbd349495d4ffdf84c03e30cccc6c1fa5e963f (patch) | |
| tree | 4eb6e3d76744ab59b64a53c5381e15e6a17c3bca /it_text.class | |
| parent | cf70c977a324c7f4f87a6e4eb54bdde4fdebf217 (diff) | |
| download | itools-68dbd349495d4ffdf84c03e30cccc6c1fa5e963f.tar.gz itools-68dbd349495d4ffdf84c03e30cccc6c1fa5e963f.tar.bz2 itools-68dbd349495d4ffdf84c03e30cccc6c1fa5e963f.zip | |
show empty texts
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 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 = "<span style='background:#8F8' title='$label (" . it_debug::backtrace(array('levels'=>1, 'skipfiles'=>"text|auto_prepend")) . ")'>$text</span'>"; +		$text = "<span style='background:#8F8' title='$label (" . it_debug::backtrace(array('levels'=>1, 'skipfiles'=>"text|auto_prepend")) . ")'>" . ($text ? $text : $label) . "</span>";  	return $text;  } |