aboutsummaryrefslogtreecommitdiff
path: root/mod/messageboard/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messageboard/index.php')
-rw-r--r--mod/messageboard/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messageboard/index.php b/mod/messageboard/index.php
index c6d6bed7a..102959e24 100644
--- a/mod/messageboard/index.php
+++ b/mod/messageboard/index.php
@@ -20,7 +20,7 @@ $contents = $entity->getAnnotations('messageboard', 50, 0, 'desc');
$area2 = elgg_view_title(elgg_echo('messageboard:board'));
// only display the add form and board to logged in users
-if (isloggedin()) {
+if (elgg_is_logged_in()) {
$area2 .= elgg_view("messageboard/forms/add");
$area2 .= elgg_view("messageboard/messageboard", array('annotation' => $contents));
}