Commit 1230f318 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4600 The base is lost when changing plugin

parent c98eee6c
......@@ -1500,7 +1500,7 @@ class listing {
}
}
if (!isset($this->bases[$this->base])) {
if (!empty($this->bases) && !isset($this->bases[$this->base])) {
$this->base = key($this->bases);
}
......
......@@ -192,7 +192,7 @@ class simpleManagement extends management
$this->configureHeadpage();
$this->configureFilter();
if ($this->departmentBrowser === FALSE) {
if ($this->baseMode === FALSE) {
$this->headpage->setBase($this->config->current['BASE']);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment