Merge branch 'MDL-70903-master' of git://github.com/roland04/moodle

This commit is contained in:
Andrew Nicols 2021-04-23 11:56:47 +08:00
commit db49294748
2 changed files with 4 additions and 1 deletions

View File

@ -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);

View File

@ -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