MDL-16613 sesskey cleanup
authorskodak <skodak>
Fri, 2 Jan 2009 10:43:12 +0000 (10:43 +0000)
committerskodak <skodak>
Fri, 2 Jan 2009 10:43:12 +0000 (10:43 +0000)
admin/blocks.php

index 9074bfefb1609db5042fc938d4eff89753606444..10e070142c3094f53e13f2a11a00ff89aaa66e50 100644 (file)
@@ -73,7 +73,7 @@
 
         if (!$confirm) {
             notice_yesno(get_string('blockdeleteconfirm', '', $strblockname),
-                         'blocks.php?delete='.$block->id.'&amp;confirm=1&amp;sesskey='.$USER->sesskey,
+                         'blocks.php?delete='.$block->id.'&amp;confirm=1&amp;sesskey='.sesskey(),
                          'blocks.php');
             admin_externalpage_print_footer();
             exit;