From 830cfd36ccddd29872db4211546a50ee414e1bb2 Mon Sep 17 00:00:00 2001 From: poleumdev <64774219+poleumdev@users.noreply.github.com> Date: Fri, 19 Feb 2021 10:35:21 +0100 Subject: [PATCH] correction warning --- lst_launch.php | 5 ++--- version.php | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lst_launch.php b/lst_launch.php index 5c1a945..dea32f1 100644 --- a/lst_launch.php +++ b/lst_launch.php @@ -91,12 +91,11 @@ die; } +$matchcount = $DB->count_records('tool_attestoodle_launch_log'); + if ($action == '') { echo $OUTPUT->header(); - - $matchcount = $DB->count_records('tool_attestoodle_launch_log'); echo $OUTPUT->heading(get_string('nblaunch', 'tool_history_attestoodle', $matchcount)); - // Per page. echo choiceperpage($OUTPUT, $perpage); } diff --git a/version.php b/version.php index 46f37f4..9059a08 100644 --- a/version.php +++ b/version.php @@ -26,7 +26,7 @@ $plugin->component = 'tool_history_attestoodle'; $plugin->release = '0.1.0'; -$plugin->version = 2021021911; +$plugin->version = 2021021912; $plugin->requires = 2017051500; $plugin->maturity = MATURITY_STABLE; $plugin->dependencies = [