aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/SemBrowse.class.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+github@gmail.com>2022-01-25 17:12:07 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2022-04-13 09:42:46 +0000
commitc0677b9ed4e74550cb7880fbe72415e92907a5d7 (patch)
tree911fc118417c23f786cb22f50b2c2202d48fb794 /lib/classes/SemBrowse.class.php
parent7fca46eda99e80f3ffd48126e356546094a68cc9 (diff)
apply changeset 58890 from svn, re #588tic-588
Diffstat (limited to 'lib/classes/SemBrowse.class.php')
-rw-r--r--lib/classes/SemBrowse.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/SemBrowse.class.php b/lib/classes/SemBrowse.class.php
index a60201a..a3e535e 100644
--- a/lib/classes/SemBrowse.class.php
+++ b/lib/classes/SemBrowse.class.php
@@ -243,7 +243,7 @@ class SemBrowse {
$query .= ' AND visible = 1';
}
- $sem_ids = DBManager::get()->fetchAll(PDO::FETCH_COLUMN);
+ $sem_ids = DBManager::get('studip-slave')->fetchAll(PDO::FETCH_COLUMN);
if (is_array($sem_ids)) {
$this->sem_browse_data['search_result'] = array_flip($sem_ids);
}