mirror of
https://github.com/moodle/moodle.git
synced 2025-05-06 00:06:51 +02:00
Merge branch 'MDL-70919-master' of git://github.com/marinaglancy/moodle
This commit is contained in:
commit
b171685d6e
@ -2271,7 +2271,7 @@ class MoodleQuickForm extends HTML_QuickForm_DHTMLRulesTableless {
|
|||||||
}
|
}
|
||||||
foreach ($elementList as $elementName) {
|
foreach ($elementList as $elementName) {
|
||||||
$value = $this->exportValue($elementName);
|
$value = $this->exportValue($elementName);
|
||||||
if (@PEAR::isError($value)) {
|
if ((new PEAR())->isError($value)) {
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
//oh, stock QuickFOrm was returning array of arrays!
|
//oh, stock QuickFOrm was returning array of arrays!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user