Author: acydburn
Date: Thu Jul 30 15:35:29 2009
New Revision: 9894
Log:
Fix Bug #48875 - we compare the bitlength, therefore we indeed do not need to re-cache if we think acl options got changed (which we did)
Modified:
branches/phpBB-3_0_0/phpBB/includes/auth.php
Modified: branches/phpBB-3_0_0/phpBB/includes/auth.php
==============================================================================
*** branches/phpBB-3_0_0/phpBB/includes/auth.php (original)
--- branches/phpBB-3_0_0/phpBB/includes/auth.php Thu Jul 30 15:35:29 2009
***************
*** 64,72 ****
$db->sql_freeresult($result);
$cache->put('_acl_options', $this->acl_options);
- $this->acl_cache($userdata);
}
! else if (!trim($userdata['user_permissions']))
{
$this->acl_cache($userdata);
}
--- 64,72 ----
$db->sql_freeresult($result);
$cache->put('_acl_options', $this->acl_options);
}
!
! if (!trim($userdata['user_permissions']))
{
$this->acl_cache($userdata);
}
|