From ea76cce19760707eb3b7c7ba76c81b8f813fe690 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 4 Mar 2009 18:21:14 +0000 Subject: 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 --- engine/lib/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') 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; -- cgit v1.2.3