MDL-18076 course participation report - fix actions dropdown not working. Merged from 19_STABLE
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
$actionoptions = array('' => $strallactions,
|
||||
'view' => $strview,
|
||||
'post' => $strpost,);
|
||||
if (!in_array($action, $actionoptions)) {
|
||||
if (!array_key_exists($action, $actionoptions)) {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user