Merge branch 'MDL-83474' of https://github.com/paulholden/moodle
This commit is contained in:
Vendored
+2
-2
@@ -543,8 +543,8 @@ class util {
|
||||
return ['', $textformat ?? FORMAT_MOODLE];
|
||||
}
|
||||
|
||||
if (empty($itemid)) {
|
||||
$itemid = null;
|
||||
if ($itemid !== null) {
|
||||
$itemid = (int) $itemid;
|
||||
}
|
||||
|
||||
// Get settings (singleton).
|
||||
|
||||
Reference in New Issue
Block a user