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
ed231939
Commit
ed231939
authored
Apr 01, 2016
by
Côme Chilliet
Browse files
Fixes
#4659
Fixed flattening of dependencies when askme is used
parent
fc65dfc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/class_plugin.inc
View file @
ed231939
...
...
@@ -644,7 +644,12 @@ class plugin
array_map
(
function
(
$a
)
use
(
&
$cache
,
$depends
,
$forbidden
)
{
return
plugin
::
tpl_depends_of
(
$cache
,
$depends
,
$a
,
$forbidden
);
$deps
=
plugin
::
tpl_depends_of
(
$cache
,
$depends
,
$a
,
$forbidden
);
if
((
$askmeKey
=
array_search
(
'askme'
,
$deps
))
!==
FALSE
)
{
/* Do not flat special askme dependency */
unset
(
$deps
[
$askmeKey
]);
}
return
$deps
;
},
$depends
[
$key
]
);
...
...
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