Merge branch 'w51_MDL-37191_m25_plugindelete' of git://github.com/skodak/moodle
[moodle.git] / lib / adminlib.php
index 1158f54..8994cd0 100644 (file)
@@ -6095,8 +6095,7 @@ class admin_page_managefilters extends admin_externalpage {
                 $found = true;
                 break;
             }
-            list($type, $filter) = explode('/', $path);
-            if (strpos($filter, $query) !== false) {
+            if (strpos($path, $query) !== false) {
                 $found = true;
                 break;
             }