Commit 414f9432 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4659 Fixed flattening of dependencies when askme is used

Showing with 6 additions and 1 deletion
+6 -1
...@@ -797,7 +797,12 @@ class plugin ...@@ -797,7 +797,12 @@ class plugin
array_map( array_map(
function ($a) use (&$cache, $depends, $forbidden) 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] $depends[$key]
); );
......
  • bmortier @bmortier

    mentioned in issue #1485

    By ptempier on 2017-09-02T15:27:48 (imported from GitLab)

    ·

    mentioned in issue #1485

    By ptempier on 2017-09-02T15:27:48 (imported from GitLab)

    Toggle commit list
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