From: stronk7 Date: Fri, 30 Jan 2009 10:14:01 +0000 (+0000) Subject: MDL-18076 course participation report - fix actions dropdown not working. Merged... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=df2a8db1500a84df3f0b0330ddcdb709eefaf273;p=moodle.git MDL-18076 course participation report - fix actions dropdown not working. Merged from 19_STABLE --- 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 = ''; }