Skip to content
Permalink
Browse files
Merge branch 'MDL-61016_hideif_disabledif_34' of git://github.com/dav…
…osmith/moodle into MOODLE_34_STABLE
  • Loading branch information
David Monllao committed Dec 19, 2017
2 parents 0c794fc + 8b448de commit b844baf8be55139b9c764096e2270fe1a244b451
Showing with 6 additions and 2 deletions.
  1. +6 −2 lib/formslib.php
@@ -2492,9 +2492,13 @@ function getLockOptionObject(){
}
}
foreach ($this->_hideifs as $dependenton => $conditions) {
$result[$dependenton] = array();
if (!isset($result[$dependenton])) {
$result[$dependenton] = array();
}
foreach ($conditions as $condition => $values) {
$result[$dependenton][$condition] = array();
if (!isset($result[$dependenton][$condition])) {
$result[$dependenton][$condition] = array();
}
foreach ($values as $value => $dependents) {
$result[$dependenton][$condition][$value][self::DEP_HIDE] = array();
foreach ($dependents as $dependent) {

0 comments on commit b844baf

Please sign in to comment.