mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 07:30:01 +01:00
Merge branch 'MDL-77081-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
7dfb4c229c
@ -3195,7 +3195,7 @@ class MoodleQuickForm_Renderer extends HTML_QuickForm_Renderer_Tableless{
|
||||
$html = str_replace('{groupname}', 'data-groupname="'.$group->getName().'"', $html);
|
||||
$html = str_replace('{typeclass}', 'fgroup', $html);
|
||||
$html = str_replace('{type}', 'group', $html);
|
||||
$html = str_replace('{class}', $group->getAttribute('class'), $html);
|
||||
$html = str_replace('{class}', $group->getAttribute('class') ?? '', $html);
|
||||
$emptylabel = '';
|
||||
if ($group->getLabel() == '') {
|
||||
$emptylabel = 'femptylabel';
|
||||
|
@ -199,7 +199,7 @@ class HTML_QuickForm_textarea extends HTML_QuickForm_element
|
||||
return $this->_getTabs() .
|
||||
'<textarea' . $this->_getAttrString($this->_attributes) . '>' .
|
||||
// because we wrap the form later we don't want the text indented
|
||||
preg_replace("/(\r\n|\n|\r)/", '
', htmlspecialchars($this->_value)) .
|
||||
preg_replace("/(\r\n|\n|\r)/", '
', htmlspecialchars($this->_value ?? '')) .
|
||||
'</textarea>';
|
||||
}
|
||||
} //end func toHtml
|
||||
|
@ -32,7 +32,8 @@ MDL-70457 - PHP 7.4 curly brackets string access fix.
|
||||
MDL-71126 - Quiz: Manual grading page size preference can get stuck at 0
|
||||
Including in this change:
|
||||
- New positiveint regex rule to check if the value is a positive integer
|
||||
MDL-76102 - PHP 8.1 passing null to a non-nullable argument of a built-in function is deprecated
|
||||
MDL-76102 / MDL-77081
|
||||
PHP 8.1 passing null to a non-nullable argument of a built-in function is deprecated
|
||||
|
||||
Pear
|
||||
====
|
||||
|
Loading…
x
Reference in New Issue
Block a user