aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-09 18:52:12 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-09 18:52:12 +0000
commitfdcdff0fc24292c7dd6116d4c8c5623adb6646c5 (patch)
tree83c0a99957e81c1922f78c989c84e523bfb71606
parent134af4b37e89a0b82850de9f17a59ab076fd816e (diff)
downloadelgg-fdcdff0fc24292c7dd6116d4c8c5623adb6646c5.tar.gz
elgg-fdcdff0fc24292c7dd6116d4c8c5623adb6646c5.tar.bz2
Fixed comments!
git-svn-id: https://code.elgg.org/elgg/trunk@1382 36083f99-b078-4883-b0ff-0f9b5a30f544
-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()) {
?>