[pLog-svn] r3617 - plog/trunk/class/dao

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Jun 18 20:27:28 GMT 2006


Author: oscar
Date: 2006-06-18 20:27:28 +0000 (Sun, 18 Jun 2006)
New Revision: 3617

Modified:
   plog/trunk/class/dao/userpermissions.class.php
Log:
don't return an error if there are no users to update (so just remove the previous ones)


Modified: plog/trunk/class/dao/userpermissions.class.php
===================================================================
--- plog/trunk/class/dao/userpermissions.class.php	2006-06-18 20:11:14 UTC (rev 3616)
+++ plog/trunk/class/dao/userpermissions.class.php	2006-06-18 20:27:28 UTC (rev 3617)
@@ -183,7 +183,7 @@
             
             // make sure that we're dealing with an array
             if( !is_array( $userList )) {	            
-                return false;
+                return true;
             }
             
             // loop through the array and recreate the permissions



More information about the pLog-svn mailing list