From df2a8db1500a84df3f0b0330ddcdb709eefaf273 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Fri, 30 Jan 2009 10:14:01 +0000 Subject: [PATCH] MDL-18076 course participation report - fix actions dropdown not working. Merged from 19_STABLE --- course/report/participation/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/report/participation/index.php b/course/report/participation/index.php index ae3e062962..bde37aa05a 100644 --- a/course/report/participation/index.php +++ b/course/report/participation/index.php @@ -43,7 +43,7 @@ $actionoptions = array('' => $strallactions, 'view' => $strview, 'post' => $strpost,); - if (!in_array($action, $actionoptions)) { + if (!array_key_exists($action, $actionoptions)) { $action = ''; } -- 2.39.5