Fix overriding of session vars when register_globals is on (#1484670)

release-0.6
thomascube 17 years ago
parent 082f009f79
commit 82cd5cdbfc

@ -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'] : ''));
}

Loading…
Cancel
Save