aboutsummaryrefslogtreecommitdiff
path: root/views/default/messageboard/composer.php
blob: 49fa91a53a3716f3a9dff1a5d4d6c516ea8a6320 (plain)
1
2
3
4
5
6
<?php
//hack! Elgg engine should take care of this, or blog/save form should be coded better
if (elgg_is_xhr() && isset($vars['entity_guid'])) {
	elgg_set_page_owner_guid($vars['entity_guid']);
}
echo elgg_view_form('messageboard/add', array(), $vars);