aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-09 13:54:14 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-09 13:54:14 +0000
commitec1aa9a7a617b1558dcd3d3a2363563f4d81478b (patch)
treefb5c2cf9ac7d53a4ac176c2f7fcfc937ab183b58 /views/default
parent279e93e613d2312a69cc9af3db150e90ccc3c80f (diff)
downloadelgg-ec1aa9a7a617b1558dcd3d3a2363563f4d81478b.tar.gz
elgg-ec1aa9a7a617b1558dcd3d3a2363563f4d81478b.tar.bz2
The comment form only appears if you are logged in.
git-svn-id: https://code.elgg.org/elgg/trunk@1360 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/comments/forms/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/comments/forms/edit.php b/views/default/comments/forms/edit.php
index 5f914d22e..cb1a65f6b 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'])) {
+ if (isset($vars['entity']) && isloggedon()) {
?>