aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 7cd11bc04..92fb03c88 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -539,7 +539,7 @@
* @return string|false The HTML (etc) for the comments, or false on failure
*/
function elgg_view_comments($entity){
-
+
if (!($entity instanceof ElggEntity)) return false;
if ($comments = trigger_plugin_hook('comments',$entity->getType(),array('entity' => $entity),false)) {