diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-11-25 15:38:32 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-11-25 15:38:32 +0000 |
| commit | 7941b00c87ddea9e824e5d080e235dbb712ca077 (patch) | |
| tree | 3a6ada6e8e29440a43468c0d685bad7e13f5f919 | |
| parent | b03648198c768d38ea97a7c004f6e24b1a41cc1b (diff) | |
Fix overriding of session vars when register_globals is on (#1484670)
git-svn-id: https://svn.roundcube.net/trunk@922 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/steps/settings/func.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/settings/func.inc b/roundcubemail/program/steps/settings/func.inc index 18e8e523d..ecdbcbd76 100644 --- a/roundcubemail/program/steps/settings/func.inc +++ b/roundcubemail/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'] : '')); } |
