mirror of
https://github.com/moodle/moodle.git
synced 2025-04-25 10:26:17 +02:00
MDL-70919 core_form: non-static method can not be called statically
This commit is contained in:
parent
fc335f5ea0
commit
c79e72085b
@ -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