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

mark at devel.lifetype.net mark at devel.lifetype.net
Sun May 28 19:38:16 GMT 2006


Author: mark
Date: 2006-05-28 19:38:15 +0000 (Sun, 28 May 2006)
New Revision: 3482

Modified:
   plog/trunk/class/dao/userpermissions.class.php
Log:
Fixed a small typo.

Modified: plog/trunk/class/dao/userpermissions.class.php
===================================================================
--- plog/trunk/class/dao/userpermissions.class.php	2006-05-28 19:36:20 UTC (rev 3481)
+++ plog/trunk/class/dao/userpermissions.class.php	2006-05-28 19:38:15 UTC (rev 3482)
@@ -78,7 +78,7 @@
 			$userPerms = $this->getUserPermissions( $perm->getUserId(), $perm->getUserId());
 			$found = false;
 			foreach( $userPerms as $userPerm ) {
-				if( $userPerm->getUserId() == $perm->getUserId() && $userPerm->getBlogId() == $perm->getUserId() && 
+				if( $userPerm->getUserId() == $perm->getUserId() && $userPerm->getBlogId() == $perm->getBlogId() && 
 				    $userPerm->getPermissionId() == $perm->getPermissionId()) {
 					$found = true;
 					break;



More information about the pLog-svn mailing list