phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] [19084] Fix a weird thing when creating new users fro


From: Caeies
Subject: [Phpgroupware-cvs] [19084] Fix a weird thing when creating new users from setup ...
Date: Wed, 18 Feb 2009 18:29:56 +0000

Revision: 19084
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=19084
Author:   Caeies
Date:     2009-02-18 18:29:55 +0000 (Wed, 18 Feb 2009)

Log Message:
-----------
Fix a weird thing when creating new users from setup ... hope that doesn't 
broke too much things

Modified Paths:
--------------
    core/trunk/phpgwapi/inc/class.acl.inc.php

Modified: core/trunk/phpgwapi/inc/class.acl.inc.php
===================================================================
--- core/trunk/phpgwapi/inc/class.acl.inc.php   2009-02-18 18:28:39 UTC (rev 
19083)
+++ core/trunk/phpgwapi/inc/class.acl.inc.php   2009-02-18 18:29:55 UTC (rev 
19084)
@@ -357,7 +357,9 @@
                        $this->_db->query($sql, __LINE__, __FILE__);
 
                        if ( !isset($this->_data[$acct_id])
-                               || !count($this->_data[$acct_id]) )
+                               || !is_array($this->_data[$acct_id])
+                               || !count($this->_data[$acct_id])
+                               )
                        {
                                $this->_db->transaction_commit();
 






reply via email to

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