aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-18 09:32:00 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-18 09:36:37 +0100
commitbe26c5050697d36f19cead28e1139c92110266d8 (patch)
tree28fdc3fd1d0b095d95cd55ca7f8305fca19a9943
parent2bd0871ccf86b41085f4b21d972a2d13e508c55d (diff)
fix filters for good, re #6368
-rw-r--r--app/controllers/materialien/files.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/materialien/files.php b/app/controllers/materialien/files.php
index bea5c61..e91466b 100644
--- a/app/controllers/materialien/files.php
+++ b/app/controllers/materialien/files.php
@@ -44,16 +44,16 @@ class Materialien_FilesController extends MVVController
$file_ids = $search_result;
} else {
if (!empty($_SESSION['mvv_filter_files_fach_id'])) {
- $file_ids = $this->findFileIdsByFach($_SESSION['mvv_filter_contacts_fach_id']);
+ $file_ids = $this->findFileIdsByFach($_SESSION['mvv_filter_files_fach_id']);
}
if (!empty($_SESSION['mvv_filter_files_abschluss_id'])) {
if (count($file_ids) > 0) {
$file_ids = array_intersect(
$file_ids,
- $this->findFileIdsByAbschluss($_SESSION['mvv_filter_contacts_abschluss_id'])
+ $this->findFileIdsByAbschluss($_SESSION['mvv_filter_files_abschluss_id'])
);
} else {
- $file_ids = $this->findFileIdsByAbschluss($_SESSION['mvv_filter_contacts_abschluss_id']);
+ $file_ids = $this->findFileIdsByAbschluss($_SESSION['mvv_filter_files_abschluss_id']);
}
}
}