Skip to content
Browse files

course/view MDL-10221 delete course items with Ajax enabled

  • Loading branch information...
1 parent c8b0aa2 commit e6e4a19712b9d6aabbbe03a175fac8787a7e17c6 Rossiani Wijaya committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/rest.php
View
2 course/rest.php
@@ -48,7 +48,7 @@
// OK, now let's process the parameters and do stuff
-$req_method = ($page_action == 'DELETE') ? 'DELETE' : $_SERVER['REQUEST_METHOD'];
+$req_method = ($pageaction == 'DELETE') ? 'DELETE' : $_SERVER['REQUEST_METHOD'];
switch($req_method) {

0 comments on commit e6e4a19

Please sign in to comment.
Something went wrong with that request. Please try again.