aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index dfb29fae1..38bfd13dc 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1295,7 +1295,7 @@
if ($ret===false)
return false;
- if (!($entity instanceof ElggUser))
+ if ($entity instanceof ElggObject)
update_river_access_by_object($entity->guid,$entity->access_id);
return true;