From 7a77598711f5a2bd6f9c29214901e2b4718f1e6f Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 19 Feb 2011 16:47:31 +0000 Subject: fixed typo git-svn-id: http://code.elgg.org/elgg/trunk@8331 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/views.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/views.php') 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( -- cgit v1.2.3