[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [Bug #1352] phpwebhosting erases user's preferenc
From: |
nobody |
Subject: |
[Phpgroupware-tracker] [Bug #1352] phpwebhosting erases user's preferences upon first interaction |
Date: |
Mon, 07 Oct 2002 16:06:09 -0400 |
=================== BUG #1352: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1352&group_id=509
Submitted by: totschnig Project: phpGroupWare
Submitted on: 2002-Oct-07 20:06
Category: filemanager Bug Group: 0.9.14 release
Severity: 5 - Major Priority: None
Resolution: None Assigned to: None
Status: Open Component Version: None
Platform Version: Linux - RedHat Reproducibility: Every Time
Summary: phpwebhosting erases user's preferences upon first interaction
Original Submission: When a new user goes for the first time into
phpwehosting, and then clicks on the link to one level up from his home
directory into /home, all his preferences (interface selection, language, etc.)
get reset to the default values.
The following patch seems to solve the problem:
--- index.php.orig Mon Oct 7 15:35:05 2002
+++ index.php Mon Oct 7 16:05:17 2002
@@ -611,6 +611,7 @@
if (!is_array ($GLOBALS['settings']))
{
$pref = CreateObject ('phpgwapi.preferences',
$GLOBALS['userinfo']['username']);
+ $pref->read_repository ();
$GLOBALS['phpgw']->hooks->single ('add_def_pref', $GLOBALS['appname']);
$pref->save_repository (True);
$pref_array = $pref->read_repository ();
No Followups Have Been Posted
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1352&group_id=509
- [Phpgroupware-tracker] [Bug #1352] phpwebhosting erases user's preferences upon first interaction,
nobody <=