phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] admin/inc class.boaccounts.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] admin/inc class.boaccounts.inc.php
Date: Sun, 07 Jan 2007 02:21:22 +0000

CVSROOT:        /sources/phpgroupware
Module name:    admin
Changes by:     Dave Hall <skwashd>     07/01/07 02:21:22

Modified files:
        inc            : class.boaccounts.inc.php 

Log message:
        make sure apps data is reset before adding new entries

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/admin/inc/class.boaccounts.inc.php?cvsroot=phpgroupware&r1=1.56&r2=1.57

Patches:
Index: class.boaccounts.inc.php
===================================================================
RCS file: /sources/phpgroupware/admin/inc/class.boaccounts.inc.php,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- class.boaccounts.inc.php    27 Nov 2006 18:03:42 -0000      1.56
+++ class.boaccounts.inc.php    7 Jan 2007 02:21:22 -0000       1.57
@@ -9,7 +9,7 @@
        *  Free Software Foundation; either version 2 of the License, or (at 
your  *
        *  option) any later version.                                           
   *
        
\**************************************************************************/
-       /* $Id: class.boaccounts.inc.php,v 1.56 2006/11/27 18:03:42 sigurdne 
Exp $ */
+       /* $Id: class.boaccounts.inc.php,v 1.57 2007/01/07 02:21:22 skwashd Exp 
$ */
 
        //FIXME define constants for rights so we can fuck all these magic 
numbers
        
@@ -636,6 +636,7 @@
                        if($id && is_array($modules) )
                        {
                                $apps = CreateObject('phpgwapi.applications', 
$id);
+                               $apps->data = array(); //remove all existing 
rights
                                foreach ( $modules as $app_name => $app_status 
) 
                                {
                                        if ( $app_status )




reply via email to

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