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:32:06 +0100
commit07ff885dc499e672181c1b2f064d8066d911a768 (patch)
treeddbff4109c41bb93ce744995edd35b6605fa7035
parent5caaa0edf377cce82d01b4d8f6aec90f1f5abf30 (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 d69bdb2..f767ac6 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']);
}
}
}