From 82cd5cdbfc595266341e40d4ad5536c54d00b49c Mon Sep 17 00:00:00 2001 From: thomascube Date: Sun, 25 Nov 2007 15:38:32 +0000 Subject: Fix overriding of session vars when register_globals is on (#1484670) --- program/steps/settings/func.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'program/steps/settings/func.inc') diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 18e8e523d..ecdbcbd76 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -27,8 +27,7 @@ $sql_result = $DB->query("SELECT username, mail_host FROM ".get_table_name('user if ($USER_DATA = $DB->fetch_assoc($sql_result)) { - $username = $USER_DATA['username'] . (!strpos($USER_DATA['username'], '@') ? '@'.$USER_DATA['mail_host'] : ''); - $OUTPUT->set_pagetitle(sprintf('%s %s', rcube_label('settingsfor'), $username)); + $OUTPUT->set_pagetitle(rcube_label('settingsfor') . " ". $USER_DATA['username'] . (!strpos($USER_DATA['username'], '@') ? '@'.$USER_DATA['mail_host'] : '')); } -- cgit v1.2.3