From 359e23c1c6807a8daaf9f6944bc50bb8c9a96d99 Mon Sep 17 00:00:00 2001
From: Elke Kreim <elke.kreim@hs-hannover.de>
Date: Tue, 11 Feb 2025 20:15:46 +0100
Subject: [PATCH] Remove undefined variable

---
 block_hshcourselist.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block_hshcourselist.php b/block_hshcourselist.php
index 720cd0e..ad0d849 100644
--- a/block_hshcourselist.php
+++ b/block_hshcourselist.php
@@ -138,7 +138,7 @@ class block_hshcourselist extends block_base {
             'action' => new moodle_url('/')
         );
 
-        $form = html_writer::tag('form', $idsearchinglabel.$ordercheckbox.$input.$questionhsh.$progress, $formattrs);
+        $form = html_writer::tag('form', $idsearchinglabel.$ordercheckbox.$input.$questionhsh, $formattrs);
         if (!empty($hshcoursesubmit)) {
             $courses = self::get_courses($search, $contextblock, $this->globalconf->splitterms,
                 $this->globalconf->restrictcontext, $this->page->context,
-- 
GitLab