MDL-18076 course participation report - fix actions dropdown not working. Merged from 19_STABLE

This commit is contained in:
stronk7
2009-01-30 10:14:01 +00:00
parent 569c693719
commit df2a8db150
+1 -1
View File
@@ -43,7 +43,7 @@
$actionoptions = array('' => $strallactions,
'view' => $strview,
'post' => $strpost,);
if (!in_array($action, $actionoptions)) {
if (!array_key_exists($action, $actionoptions)) {
$action = '';
}