aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views/default/river
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 16:37:53 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 16:37:53 +0000
commit51c843e64febb9a390b9abd83f8d3dd7acf39403 (patch)
tree79cbd4da219db530a7a25a7c2a39e18a5baa785e /mod/blog/views/default/river
parent1ac8dfb651704296797b095c05da4128b9a83abe (diff)
downloadelgg-51c843e64febb9a390b9abd83f8d3dd7acf39403.tar.gz
elgg-51c843e64febb9a390b9abd83f8d3dd7acf39403.tar.bz2
you can no longer comment on river item while logged out
git-svn-id: http://code.elgg.org/elgg/trunk@6177 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/views/default/river')
-rw-r--r--mod/blog/views/default/river/object/blog/create.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/views/default/river/object/blog/create.php b/mod/blog/views/default/river/object/blog/create.php
index 1eb3b0dc8..c14bd56e8 100644
--- a/mod/blog/views/default/river/object/blog/create.php
+++ b/mod/blog/views/default/river/object/blog/create.php
@@ -12,7 +12,7 @@ $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
$title = sprintf(elgg_echo('blog:river:create'), $url);
$string .= $title . " <a href=\"{$object->getURL()}\">{$object->title}</a> <span class=\"entity_subtext\">" . friendly_time($object->time_created) . '</span>';
-if (get_plugin_setting('activitytype', 'riverdashboard') != 'classic') {
+if (isloggedin()) {
$string .= '<a class="river_comment_form_button link">' . elgg_echo('generic_comments:text') . '</a>';
$string .= elgg_view('likes/forms/link', array('entity' => $object));
}