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

oscar at devel.lifetype.net oscar at devel.lifetype.net
Tue Feb 21 17:32:08 GMT 2006


Author: oscar
Date: 2006-02-21 17:32:07 +0000 (Tue, 21 Feb 2006)
New Revision: 2973

Modified:
   plog/trunk/class/dao/userpermissions.class.php
Log:
Fixed a typo that caused a stupid error.


Modified: plog/trunk/class/dao/userpermissions.class.php
===================================================================
--- plog/trunk/class/dao/userpermissions.class.php	2006-02-20 19:12:07 UTC (rev 2972)
+++ plog/trunk/class/dao/userpermissions.class.php	2006-02-21 17:32:07 UTC (rev 2973)
@@ -178,7 +178,7 @@
             // loop through the array and recreate the permissions
             foreach( $userList as $userId ) {
                 if( $userId > 0 ) {
-					$perm = new UserPermissions( $userId, $blogId, PERMISSION_BLOG_USER );
+					$perm = new UserPermission( $userId, $blogId, PERMISSION_BLOG_USER );
 					$this->grantPermission( $perm );
                 }
             }



More information about the pLog-svn mailing list