mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge branch 'MDL-70919-master' of git://github.com/marinaglancy/moodle
This commit is contained in:
commit
b171685d6e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue