diff options
-rw-r--r-- | engine/lib/river.php | 2 |
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 |