Skip to content

Commit

Permalink
MDL-70919 core_form: non-static method can not be called statically
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy committed Mar 18, 2021
1 parent fc335f5 commit c79e720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/formslib.php
Expand Up @@ -2271,7 +2271,7 @@ function exportValues($elementList = null){
}
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!
Expand Down

0 comments on commit c79e720

Please sign in to comment.