diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-08 19:35:02 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-08 19:35:02 +0000 |
commit | fee0f149a01a6587345f76a4a51c5f9845309b62 (patch) | |
tree | 7f7be3493dd550f6c66433602a14bcdaee71474d /mod | |
parent | c0e6998b01ddc9b87fd0869f3662cef3bca5b33b (diff) | |
download | elgg-fee0f149a01a6587345f76a4a51c5f9845309b62.tar.gz elgg-fee0f149a01a6587345f76a4a51c5f9845309b62.tar.bz2 |
Major access fix.
git-svn-id: https://code.elgg.org/elgg/trunk@1809 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r-- | mod/groups/actions/forums/addtopic.php | 2 | ||||
-rw-r--r-- | mod/groups/addtopic.php | 2 | ||||
-rw-r--r-- | mod/groups/topicposts.php | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/mod/groups/actions/forums/addtopic.php b/mod/groups/actions/forums/addtopic.php index 3159d639f..e96815aa0 100644 --- a/mod/groups/actions/forums/addtopic.php +++ b/mod/groups/actions/forums/addtopic.php @@ -62,7 +62,7 @@ $grouptopic->status = $status; // the current status i.e sticky, closed, resolved, open
// now add the topic message as an annotation
- $grouptopic->annotate('group_topic_post',$message,$access, $user);
+ $grouptopic->annotate('group_topic_post',$message,$access, $user);
// Success message
system_message(elgg_echo("grouptopic:created"));
diff --git a/mod/groups/addtopic.php b/mod/groups/addtopic.php index 08e335f03..5dfeb881d 100644 --- a/mod/groups/addtopic.php +++ b/mod/groups/addtopic.php @@ -15,7 +15,7 @@ gatekeeper();
- $page_owner = set_page_owner((int)get_input('group_guid'));
+ $page_owner = set_page_owner((int) get_input('group_guid'));
if (!(page_owner_entity() instanceof ElggGroup)) forward();
diff --git a/mod/groups/topicposts.php b/mod/groups/topicposts.php index ad4ea9fbd..6a732ca52 100644 --- a/mod/groups/topicposts.php +++ b/mod/groups/topicposts.php @@ -14,7 +14,7 @@ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
//get_input('group_guid');
- set_page_owner((int)get_input('group_guid'));
+ set_page_owner(get_input('group_guid'));
if (!(page_owner_entity() instanceof ElggGroup)) forward();
// get the entity from id
@@ -22,7 +22,7 @@ // Display them
$area2 = elgg_view("forum/viewposts", array('entity' => $topic));
- $body = elgg_view_layout("two_column_left_sidebar", $area1, $area2);
+ $body = elgg_view_layout("two_column_left_sidebar", '' , $area2);
// Display page
page_draw($topic->title,$body);
|