MDL-16613 sesskey cleanup

This commit is contained in:
skodak
2009-01-02 10:43:12 +00:00
parent e821d24c72
commit 34a2faed92
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -181,7 +181,7 @@
$count = $DB->count_records('block_instance', array('blockid'=>$blockid, 'pagetype'=>'course-view'));
if ($count>0) {
$blocklist = "<a href=\"{$CFG->wwwroot}/course/search.php?blocklist=$blockid&amp;sesskey={$USER->sesskey}\" ";
$blocklist = "<a href=\"{$CFG->wwwroot}/course/search.php?blocklist=$blockid&amp;sesskey=".sesskey()."\" ";
$blocklist .= "title=\"$strshowblockcourse\" >$totalcount</a>";
}
else {