diff options
Diffstat (limited to 'mod/messageboard/views/default/widgets')
-rw-r--r-- | mod/messageboard/views/default/widgets/messageboard/content.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/messageboard/views/default/widgets/messageboard/content.php b/mod/messageboard/views/default/widgets/messageboard/content.php index 71315a526..a81a99b44 100644 --- a/mod/messageboard/views/default/widgets/messageboard/content.php +++ b/mod/messageboard/views/default/widgets/messageboard/content.php @@ -17,7 +17,7 @@ if (isset($vars['entity']->num_display)) { } //Just the loggedin user can post messages -if (isloggedin()) { +if (elgg_is_logged_in()) { ?> <script type="text/javascript"> $(document).ready(function(){ @@ -62,7 +62,7 @@ if (isloggedin()) { </div><!-- end of mb_input_wrapper div --> <?php -} // if(isloggedin()) +} // if(elgg_is_logged_in()) //this for the first time the page loads, grab the latest messages. $contents = $user->getAnnotations('messageboard', $num_display, 0, 'desc'); |