diff options
author | thomascube <thomas@roundcube.net> | 2007-11-25 15:38:32 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2007-11-25 15:38:32 +0000 |
commit | 82cd5cdbfc595266341e40d4ad5536c54d00b49c (patch) | |
tree | 1f37ef81edc9cc6ca1e6ad83d31d7cfba5fdb901 /program/steps/settings/func.inc | |
parent | 082f009f7941128d16d82dd507cb505857153080 (diff) |
Fix overriding of session vars when register_globals is on (#1484670)
Diffstat (limited to 'program/steps/settings/func.inc')
-rw-r--r-- | program/steps/settings/func.inc | 3 |
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'] : '')); } |