Skip to content

Commit

Permalink
increased backwards compatibility to PHP versions < 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirk Väth committed Aug 16, 2023
1 parent 9644256 commit ff62a0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
*/

// Course configuration: which courses should the plugin be active for.
$courses = get_courses(fields: "c.id,c.fullname");
$courses = get_courses("all", "c.sortorder ASC", "c.id,c.fullname");
$courselist = array();
// Get list of all courses and add those to the offered selection.
foreach ($courses as $course) {
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@

$plugin->component = 'local_autocompleteactivities';
$plugin->release = '1.2.0';
$plugin->version = 2023060606;
$plugin->version = 2023081601;
$plugin->requires = 2020061514;
$plugin->maturity = MATURITY_STABLE;

0 comments on commit ff62a0f

Please sign in to comment.