aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/comments
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/forms/comments')
-rw-r--r--views/default/forms/comments/add.php2
-rw-r--r--views/default/forms/comments/inline.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/forms/comments/add.php b/views/default/forms/comments/add.php
index 74ee5ba4b..238777422 100644
--- a/views/default/forms/comments/add.php
+++ b/views/default/forms/comments/add.php
@@ -7,7 +7,7 @@
* @uses $vars['entity']
*/
-if (isset($vars['entity']) && isloggedin()) {
+if (isset($vars['entity']) && elgg_is_logged_in()) {
?>
<p class="mbn">
<label><?php echo elgg_echo("generic_comments:text"); ?></label>
diff --git a/views/default/forms/comments/inline.php b/views/default/forms/comments/inline.php
index ee5883435..9c44905be 100644
--- a/views/default/forms/comments/inline.php
+++ b/views/default/forms/comments/inline.php
@@ -5,7 +5,7 @@
* @uses $vars['entity']
*/
-if (isset($vars['entity']) && isloggedin()) {
+if (isset($vars['entity']) && elgg_is_logged_in()) {
echo elgg_view('input/text', array('internalname' => 'generic_comment'));
echo elgg_view('input/hidden', array(
'internalname' => 'entity_guid',