openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 7ae3943cb849f753da89807241e105958945c2a6
parent 3a84de4c671df0eeb95c81862647f5455e8bf153
Author: dankert <devnull@localhost>
Date:   Sun, 29 Jan 2006 18:32:03 +0100

Fehlermeldung, wenn notwendige Variable nicht gef?llt.

Diffstat:
themes/default/include/html/text.inc.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/default/include/html/text.inc.php b/themes/default/include/html/text.inc.php @@ -14,7 +14,7 @@ elseif (!empty($attr_text)) $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - $tmp_text = $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error';