phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: preferences preferences.php,1.16,1.17


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: preferences preferences.php,1.16,1.17
Date: Wed, 08 May 2002 18:43:57 -0400

Update of /cvsroot/phpgroupware/preferences
In directory subversions:/tmp/cvs-serv4364

Modified Files:
        preferences.php 
Log Message:
Maybe not the proper fix, but lets user prefs be set



Index: preferences.php
===================================================================
RCS file: /cvsroot/phpgroupware/preferences/preferences.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** preferences.php     1 May 2002 12:05:27 -0000       1.16
--- preferences.php     8 May 2002 22:43:52 -0000       1.17
***************
*** 24,27 ****
--- 24,28 ----
        $global  = get_var('global',Array('POST'));
        $default = get_var('default',Array('POST'));
+ 
        $GLOBALS['appname'] = get_var('appname',Array('GET'));
  
***************
*** 209,213 ****
                }
  
!               $type = get_var('type',Array('GET'));
                if (!isset($type))
                {
--- 210,214 ----
                }
  
!               $type = get_var('type',Array('GET','POST'));
                if (!isset($type))
                {
***************
*** 259,263 ****
        {
                /* Don't use a switch here, we need to check some permissions 
durring the ifs */
!               if ($GLOBALS['type'] == 'user')
                {
                        process_array($p, $user);
--- 260,264 ----
        {
                /* Don't use a switch here, we need to check some permissions 
durring the ifs */
!               if ($GLOBALS['type'] == 'user' || !($GLOBALS['type']))
                {
                        process_array($p, $user);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]