Permalink
Browse files

Fixed bug 2210 - some sesskey variables were missed in this block making

moving of activities in here non-functional - doh!
  • Loading branch information...
1 parent a80a592 commit eaeafbce15797f66a943ce3032dc3c360bbd48c2 moodler committed Nov 22, 2004
Showing with 2 additions and 2 deletions.
  1. +2 −2 blocks/social_activities/block_social_activities.php
View
4 blocks/social_activities/block_social_activities.php
@@ -78,7 +78,7 @@ function get_content() {
if ($mod->id == $USER->activitycopy) {
continue;
}
- $this->content->items[] = '<a title="'.$strmovefull.'" href="'.$CFG->wwwroot.'/course/mod.php?moveto='.$mod->id.'">'.
+ $this->content->items[] = '<a title="'.$strmovefull.'" href="'.$CFG->wwwroot.'/course/mod.php?moveto='.$mod->id.'&amp;sesskey='.$USER->sesskey.'">'.
'<img height="16" width="80" src="'.$CFG->pixpath.'/movehere.gif" alt="'.$strmovehere.'" border="0"></a>';
$this->content->icons[] = '';
}
@@ -111,7 +111,7 @@ function get_content() {
}
if ($ismoving) {
- $this->content->items[] = '<a title="'.$strmovefull.'" href="'.$CFG->wwwroot.'/course/mod.php?movetosection='.$section->id.'">'.
+ $this->content->items[] = '<a title="'.$strmovefull.'" href="'.$CFG->wwwroot.'/course/mod.php?movetosection='.$section->id.'&amp;sesskey='.$USER->sesskey.'">'.
'<img height="16" width="80" src="'.$CFG->pixpath.'/movehere.gif" alt="'.$strmovehere.'" border="0"></a>';
$this->content->icons[] = '';
}

0 comments on commit eaeafbc

Please sign in to comment.