From: cash Date: Sat, 19 Feb 2011 16:47:31 +0000 (+0000) Subject: fixed typo X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7a77598711f5a2bd6f9c29214901e2b4718f1e6f;p=lorea%2Felgg.git fixed typo git-svn-id: http://code.elgg.org/elgg/trunk@8331 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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(