bdaloukas / moodle-mod_game

moodle-mod_game
GNU General Public License v3.0
15 stars 41 forks source link

Fix variable name #50

Closed sh-csg closed 1 year ago

sh-csg commented 1 year ago

The variable name should be $kind here (as $type is not defined yet and neither is a string)

pmaneggia commented 1 year ago

And probably it is also intended that the line $config = get_config('game'); is moved from the definition of function mod_game_get_course_content_items (where it is not used) to the definition of mod_game_get_course_content_items_type (where it is missed). Stefan could you add it to the pull request, I was about to open one myself.

sh-csg commented 1 year ago

Closing this issue as it is also handled by #52