Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Flottertotte committed Jan 6, 2020
1 parent b01deb9 commit a7b3483
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion users.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function render_course_enrolment_users_table(course_enrolment_users_table

$buttons = $table->get_manual_enrol_buttons();
$buttonhtml = '';
if (count($buttons) > 0) {
if (count((array)$buttons) > 0) {
$buttonhtml .= html_writer::start_tag('div', array('class' => 'enrol_user_buttons'));
foreach ($buttons as $button) {
$buttonhtml .= $this->render($button);
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
*/
defined('MOODLE_INTERNAL') || die();

$plugin->version = 2019121800; // The current module version (Date: YYYYMMDDXX)
$plugin->version = 2019122800; // The current module version (Date: YYYYMMDDXX)
$plugin->requires = 2011033005; // Requires at least this Moodle version
$plugin->maturity = MATURITY_STABLE;
$plugin->release = 'Course Enrol Waitlist Plugin Version 3.8-a';
$plugin->release = 'Course Enrol Waitlist Plugin Version 3.8-b';
$plugin->component = 'enrol_waitlist'; // Full name of the plugin (used for diagnostics)
$plugin->cron = 180;

0 comments on commit a7b3483

Please sign in to comment.