Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
1230f318
Commit
1230f318
authored
Mar 10, 2016
by
Côme Chilliet
Browse files
Fixes
#4600
The base is lost when changing plugin
parent
c98eee6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/class_listing.inc
View file @
1230f318
...
...
@@ -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
);
}
...
...
include/simpleplugin/class_simpleManagement.inc
View file @
1230f318
...
...
@@ -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'
]);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment