diff options
-rw-r--r-- | engine/lib/views.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php index c26e96dd5..e871ec0a1 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -1073,7 +1073,7 @@ function elgg_view_comments($entity, $add_comment = true) { } $comments = elgg_trigger_plugin_hook('comments', $entity->getType(), array('entity' => $entity), false); - if ($comemnts) { + if ($comments) { return $comments; } else { $params = array( |