diff --git a/block_hshcourselist.php b/block_hshcourselist.php
index 8c3e19d8b3488d91370fe594f05218e7d7dc3818..4220c53e38394c5af3e1d8a39d8795bd808b917d 100644
--- a/block_hshcourselist.php
+++ b/block_hshcourselist.php
@@ -114,6 +114,11 @@ class block_hshcourselist extends block_base {
         $jsdata = array(
             'instanceid' => $this->instance->id,
             'sesskey' => sesskey(),
+            /*
+                Notice: Trying to get property of non-object in C:\Dev\xampp\htdocs\moodle\blocks\hshcourselist\block_hshcourselist.php on line 117 (122)
+
+                Notice: Trying to get property of non-object in C:\Dev\xampp\htdocs\moodle\blocks\hshcourselist\block_hshcourselist.php on line 118 (123)
+            */
             'displaymode' => $this->config->displaymode,
             'orderbysemester' => $this->config->orderbysemester,
             'contextid' => $this->page->context->id
@@ -155,7 +160,7 @@ class block_hshcourselist extends block_base {
 //                $where .= 'idnumber LIKE ?'; --- Bei Postgres nur "id"
             } else {
                 $params = array_merge($params, array("%$search%", "%$search%"));
-                $where .= 'shortname LIKE ? OR fullname LIKE ?';
+                $where .= 'shortname ILIKE ? OR fullname ILIKE ?';
             }
         }
         $where .= ')';
diff --git a/version.php b/version.php
index 58cabfc7a515a2914c10d0bd0ae756b03ca8592a..e15363af41f210b37e55aad41369d7f6831d1198 100644
--- a/version.php
+++ b/version.php
@@ -1,4 +1,4 @@
 <?php
 $plugin->component = 'block_hshcourselist';
-$plugin->version = 2018041400;  // YYYYMMDDHH
+$plugin->version = 2018081001;  // YYYYMMDDHH
 $plugin->requires = 2016112900; // YYYYMMDDHH