diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-09 18:52:12 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-09 18:52:12 +0000 |
commit | fdcdff0fc24292c7dd6116d4c8c5623adb6646c5 (patch) | |
tree | 83c0a99957e81c1922f78c989c84e523bfb71606 | |
parent | 134af4b37e89a0b82850de9f17a59ab076fd816e (diff) | |
download | elgg-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.php | 2 | ||||
-rw-r--r-- | views/default/comments/forms/edit.php | 2 |
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()) {
?>
|