aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/everyone.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire/everyone.php')
-rw-r--r--mod/thewire/everyone.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/thewire/everyone.php b/mod/thewire/everyone.php
index 030a9ece3..f2f557ee9 100644
--- a/mod/thewire/everyone.php
+++ b/mod/thewire/everyone.php
@@ -16,7 +16,9 @@
$area2 = elgg_view_title(elgg_echo("thewire:everyone"));
//add form
- $area2 .= elgg_view("thewire/forms/add");
+ if (isloggedin()) {
+ $area2 .= elgg_view("thewire/forms/add");
+ }
$offset = (int)get_input('offset', 0);
$area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'thewire', 'offset' => $offset));