aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-12 12:03:30 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-12 12:03:30 +0000
commit98f831208231f88580cc25fa65971aebe42e827c (patch)
tree0d66fada12d76de82fca5929f7547aef1819313c
parentc0455ac4360f6822f77a98fef724defe2dc8ed5b (diff)
downloadelgg-98f831208231f88580cc25fa65971aebe42e827c.tar.gz
elgg-98f831208231f88580cc25fa65971aebe42e827c.tar.bz2
Avoiding wsod for deleted users
git-svn-id: https://code.elgg.org/elgg/trunk@2722 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/river.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/river.php b/engine/lib/river.php
index 1447cf484..4bd4ce8e4 100644
--- a/engine/lib/river.php
+++ b/engine/lib/river.php
@@ -271,7 +271,7 @@
$object = $tmp->getObjectFromID($log->object_id);
$by_user_obj = get_entity($log->performed_by_guid);
- if ( ($object) && ($object instanceof $class))
+ if ( ($object) && ($object instanceof $class) && ($by_user_obj))
{
// Construct the statement
$statement_object = $object; // Simple object, we don't need to do more