From 82cd5cdbfc595266341e40d4ad5536c54d00b49c Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sun, 25 Nov 2007 10:38:32 -0500
Subject: [PATCH] Fix overriding of session vars when register_globals is on (#1484670)
---
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 18e8e52..ecdbcbd 100644
--- a/program/steps/settings/func.inc
+++ b/program/steps/settings/func.inc
@@ -27,8 +27,7 @@
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'] : ''));
}
--
Gitblit v1.9.1