summaryrefslogtreecommitdiffstats
path: root/ldap
diff options
context:
space:
mode:
Diffstat (limited to 'ldap')
-rw-r--r--ldap/servers/plugins/roles/roles_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/servers/plugins/roles/roles_cache.c b/ldap/servers/plugins/roles/roles_cache.c
index b7de265f..07d22d0c 100644
--- a/ldap/servers/plugins/roles/roles_cache.c
+++ b/ldap/servers/plugins/roles/roles_cache.c
@@ -801,7 +801,7 @@ void roles_cache_change_notify(Slapi_PBlock *pb)
/* Don't update local cache when remote entries are updated */
slapi_pblock_get( pb, SLAPI_BACKEND, &be );
- if ( ( be!=NULL ) &&
+ if ( ( be==NULL ) ||
( slapi_be_is_flag_set(be,SLAPI_BE_FLAG_REMOTE_DATA)) )
{
return;