aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 16:47:31 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 16:47:31 +0000
commit7a77598711f5a2bd6f9c29214901e2b4718f1e6f (patch)
treeac0bc754ae1d1d6a01aab771aa951fa8c1211732
parentc27a41a0e291fbf4e8b13a5f8939146c74f77e8b (diff)
downloadelgg-7a77598711f5a2bd6f9c29214901e2b4718f1e6f.tar.gz
elgg-7a77598711f5a2bd6f9c29214901e2b4718f1e6f.tar.bz2
fixed typo
git-svn-id: http://code.elgg.org/elgg/trunk@8331 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/views.php2
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(