[pLog-svn] r3028 - plog/trunk/class/dao
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Sun Mar 5 22:06:51 GMT 2006
Author: oscar
Date: 2006-03-05 22:06:50 +0000 (Sun, 05 Mar 2006)
New Revision: 3028
Modified:
plog/trunk/class/dao/userpermissions.class.php
Log:
fixed a notice
Modified: plog/trunk/class/dao/userpermissions.class.php
===================================================================
--- plog/trunk/class/dao/userpermissions.class.php 2006-03-05 18:32:25 UTC (rev 3027)
+++ plog/trunk/class/dao/userpermissions.class.php 2006-03-05 22:06:50 UTC (rev 3028)
@@ -77,6 +77,7 @@
{
// check if the permission has already been granted
$userPerms = $this->getUserPermissions( $perm->getUserId(), $perm->getBlogId());
+ $found = false;
foreach( $userPerms as $perm ) {
if( $perm->getUserId() == $userId && $perm->getBlogId() == $blogId &&
$perm->getPermissionId() == $permissionId()) {
More information about the pLog-svn
mailing list