Permalink
Browse files

Merge branch 'MDL-61016_hideif_disabledif' of git://github.com/davosm…

…ith/moodle
  • Loading branch information...
dmonllao committed Dec 19, 2017
2 parents 7a1a9ec + 8fc3d41 commit dcae64d3a3e01251cce456f45a6b1d82d82f5ab0
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 dcae64d

Please sign in to comment.