aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-04 18:21:14 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-04 18:21:14 +0000
commitea76cce19760707eb3b7c7ba76c81b8f813fe690 (patch)
tree633b34aa3ef94b9c683c18132064525ef5fc98ff
parentbadf872aaeed7b18838a1566a4621f7bffa20fab (diff)
downloadelgg-ea76cce19760707eb3b7c7ba76c81b8f813fe690.tar.gz
elgg-ea76cce19760707eb3b7c7ba76c81b8f813fe690.tar.bz2
Let's go with the most obvious application of this.
git-svn-id: https://code.elgg.org/elgg/trunk@3084 36083f99-b078-4883-b0ff-0f9b5a30f544
-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;