aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/elgglib.php2
-rw-r--r--views/default/comments/forms/edit.php2
2 files changed, 2 insertions, 2 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)) {
diff --git a/views/default/comments/forms/edit.php b/views/default/comments/forms/edit.php
index cb1a65f6b..6a782bbe9 100644
--- a/views/default/comments/forms/edit.php
+++ b/views/default/comments/forms/edit.php
@@ -12,7 +12,7 @@
* @uses $vars['entity']
*/
- if (isset($vars['entity']) && isloggedon()) {
+ if (isset($vars['entity']) && isloggedin()) {
?>