aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/river.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/river.php')
-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 c934e9932..6bc0645a9 100644
--- a/engine/lib/river.php
+++ b/engine/lib/river.php
@@ -513,7 +513,7 @@ function elgg_river_add_menu_items($hook, $type, $return, $params) {
$item = $params['item'];
$object = $item->getObjectEntity();
// comments and non-objects cannot be commented on or liked
- if ($item->annotation_id == 0) {
+ if (!elgg_in_context('widgets') && $item->annotation_id == 0) {
// comments
if ($object->canComment()) {
$options = array(