aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/SemBrowse.class.php
diff options
context:
space:
mode:
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);
}