diff --git a/edit_questionpy_form.php b/edit_questionpy_form.php index db3b21c..a03cfdf 100644 --- a/edit_questionpy_form.php +++ b/edit_questionpy_form.php @@ -108,7 +108,7 @@ private function definition_package_search_container(MoodleQuickForm $mform): vo * @param package_base $package * @param string $packagehash * @param string $packageversion - * @param bool $isfavourite + * @param bool|null $isfavourite null if the package can not be marked as favourite * @param stored_file|null $file * @throws moodle_exception */ diff --git a/templates/package/package_selection.mustache b/templates/package/package_selection.mustache index 8a7e56e..20dc36e 100644 --- a/templates/package/package_selection.mustache +++ b/templates/package/package_selection.mustache @@ -102,7 +102,7 @@ {{/islocal}} {{^islocal}} {{^ismarkableasfavourite}} - {{! This package was previously in the database}} + {{! This package was previously in the database. }} ⓘ {{#str}} selection_package_no_longer_in_database_header, qtype_questionpy {{/str}}