diff options
-rw-r--r-- | engine/lib/river2.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/river2.php b/engine/lib/river2.php index df985b45e..ecf0cbcb8 100644 --- a/engine/lib/river2.php +++ b/engine/lib/river2.php @@ -198,6 +198,8 @@ foreach($entities as $entity) $guids[] = (int) $entity->guid;
// $guids[] = $subject_guid;
$where[] = " subject_guid in (" . implode(',',$guids) . ") ";
+ } else {
+ return array();
}
}
if (!empty($object_guid))
|