mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
MDL-70903 mod_h5p: Fix PHP8.0 warning
This commit is contained in:
parent
0fd37bf5d8
commit
a2a41ae5e6
@ -373,7 +373,7 @@ class H5peditor {
|
||||
*
|
||||
* @return array Libraries that was requested
|
||||
*/
|
||||
public function getLibraryData($machineName, $majorVersion, $minorVersion, $languageCode, $prefix = '', $fileDir = '', $defaultLanguage) {
|
||||
public function getLibraryData($machineName, $majorVersion, $minorVersion, $languageCode, $prefix = '', $fileDir = '', $defaultLanguage = '') {
|
||||
$libraryData = new stdClass();
|
||||
|
||||
$library = $this->h5p->loadLibrary($machineName, $majorVersion, $minorVersion);
|
||||
|
@ -23,4 +23,7 @@ Removed:
|
||||
Added:
|
||||
* readme_moodle.txt
|
||||
|
||||
Changed:
|
||||
* Updated H5peditor::getLibraryData parameters to fix PHP8.0 warnings. See MDL-70903 for details.
|
||||
|
||||
Downloaded version: moodle-1.20.2 release
|
Loading…
x
Reference in New Issue
Block a user