Browse files

ForumNG: Breadcrumbs on History page don't work; debugging line left …

…in code #2268
  • Loading branch information...
1 parent d8041f1 commit bd509556bb5e833f23affcbbe87c1c0d87434d0f @raymanuk raymanuk committed with sammarshallou Nov 24, 2011
Showing with 1 addition and 3 deletions.
  1. +0 −2 history.php
  2. +1 −1 mod_forumng.php
View
2 history.php
@@ -35,8 +35,6 @@
// Get post
$post = mod_forumng_post::get_from_id($postid, $cloneid, true);
-print_object($post->get_forum()->get_course_module_id());
-
// Get convenience variables
$discussion = $post->get_discussion();
$forum = $post->get_forum();
View
2 mod_forumng.php
@@ -815,7 +815,7 @@ public function get_link_params_array() {
* Adds the clone parameter to an array of parameters, if it is necessary.
* @param array $result Array that may have key 'clone' set
*/
- public function add_clone_param_array($result) {
+ public function add_clone_param_array(&$result) {
if ($this->is_shared()) {
$result['clone'] = $this->get_course_module_id();
}

0 comments on commit bd50955

Please sign in to comment.