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.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index d1402c397..dfb29fae1 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1295,6 +1295,9 @@
if ($ret===false)
return false;
+ if (!($entity instanceof ElggUser))
+ update_river_access_by_object($entity->guid,$entity->access_id);
+
return true;
}