mirror of
https://github.com/moodle/moodle.git
synced 2025-05-05 07:48:21 +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) {
|
||||
$value = $this->exportValue($elementName);
|
||||
if (@PEAR::isError($value)) {
|
||||
if ((new PEAR())->isError($value)) {
|
||||
return $value;
|
||||
}
|
||||
//oh, stock QuickFOrm was returning array of arrays!
|
||||
|
Loading…
x
Reference in New Issue
Block a user