summaryrefslogtreecommitdiff
path: root/program/steps/settings
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-11-25 15:38:32 +0000
committerthomascube <thomas@roundcube.net>2007-11-25 15:38:32 +0000
commit82cd5cdbfc595266341e40d4ad5536c54d00b49c (patch)
tree1f37ef81edc9cc6ca1e6ad83d31d7cfba5fdb901 /program/steps/settings
parent082f009f7941128d16d82dd507cb505857153080 (diff)
Fix overriding of session vars when register_globals is on (#1484670)
Diffstat (limited to 'program/steps/settings')
-rw-r--r--program/steps/settings/func.inc3
1 files changed, 1 insertions, 2 deletions
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'] : ''));
}