phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] news_admin/inc class.boacl.inc.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] news_admin/inc class.boacl.inc.php
Date: Sat, 24 Feb 2007 20:41:52 +0000

CVSROOT:        /sources/phpgroupware
Module name:    news_admin
Changes by:     Sigurd Nes <sigurdne>   07/02/24 20:41:52

Modified files:
        inc            : class.boacl.inc.php 

Log message:
        some notices

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/news_admin/inc/class.boacl.inc.php?cvsroot=phpgroupware&r1=1.5&r2=1.6

Patches:
Index: class.boacl.inc.php
===================================================================
RCS file: /sources/phpgroupware/news_admin/inc/class.boacl.inc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- class.boacl.inc.php 28 Dec 2006 04:55:36 -0000      1.5
+++ class.boacl.inc.php 24 Feb 2007 20:41:51 -0000      1.6
@@ -9,7 +9,7 @@
        *  option) any later version.                                           
   *
        
\**************************************************************************/
 
-       /* $Id: class.boacl.inc.php,v 1.5 2006/12/28 04:55:36 skwashd Exp $ */
+       /* $Id: class.boacl.inc.php,v 1.6 2007/02/24 20:41:51 sigurdne Exp $ */
 
        /**
        * Access Controls class
@@ -92,6 +92,8 @@
                                $rights[$loc] = PHPGW_ACL_READ;
                        }
 
+                       if(is_array($add_rights))
+                       {
                        foreach ( $add_rights as $loc )
                        {
                                if ( !isset($rights) )
@@ -103,6 +105,7 @@
                                        $rights[$loc] |= PHPGW_ACL_ADD;
                                }
                        }
+                       }
                        return $rights;
                }
        }




reply via email to

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