From ccb6d625239b59b283b4d3fc00da704ab743d74c Mon Sep 17 00:00:00 2001 From: brettp Date: Tue, 8 Feb 2011 19:52:10 +0000 Subject: Refs #2543: Updated trunk mods and views to use the new functions from previous 2 commits. git-svn-id: http://code.elgg.org/elgg/trunk@8079 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/messageboard/ajax_endpoint/load.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/messageboard/ajax_endpoint/load.php') diff --git a/mod/messageboard/ajax_endpoint/load.php b/mod/messageboard/ajax_endpoint/load.php index 008c6fe0f..4509c30ef 100644 --- a/mod/messageboard/ajax_endpoint/load.php +++ b/mod/messageboard/ajax_endpoint/load.php @@ -21,7 +21,7 @@ $user = get_entity(get_input('pageOwner')); //stage one - if a message was posted, add it as an annotation if ($message) { - if (!messageboard_add(get_loggedin_user(), $user, $message, $user->access_id)) { + if (!messageboard_add(elgg_get_logged_in_user_entity(), $user, $message, $user->access_id)) { echo elgg_echo("messageboard:failure"); } -- cgit v1.2.3