aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-04 18:16:08 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-04 18:16:08 +0000
commitbadf872aaeed7b18838a1566a4621f7bffa20fab (patch)
tree5d56906da226574de7b7b0beb242048d4327ff19 /engine/lib/entities.php
parent0f97c0d4c48ed779c985d9ac4288db65c127234c (diff)
downloadelgg-badf872aaeed7b18838a1566a4621f7bffa20fab.tar.gz
elgg-badf872aaeed7b18838a1566a4621f7bffa20fab.tar.bz2
River access issues
git-svn-id: https://code.elgg.org/elgg/trunk@3083 36083f99-b078-4883-b0ff-0f9b5a30f544
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;
}