]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-18076 course participation report - fix actions dropdown not working. Merged...
authorstronk7 <stronk7>
Fri, 30 Jan 2009 10:14:01 +0000 (10:14 +0000)
committerstronk7 <stronk7>
Fri, 30 Jan 2009 10:14:01 +0000 (10:14 +0000)
course/report/participation/index.php

index ae3e06296248b3cd8234a8366c0e38314748cf1d..bde37aa05a8c1614b7a11f54e94df87ae4e95bae 100644 (file)
@@ -43,7 +43,7 @@
     $actionoptions = array('' => $strallactions,
                            'view' => $strview,
                            'post' => $strpost,);
-    if (!in_array($action, $actionoptions)) {
+    if (!array_key_exists($action, $actionoptions)) {
         $action = '';
     }