Skip to content
Snippets Groups Projects
Commit 5b9ca312 authored by greenskin's avatar greenskin Committed by greenskin
Browse files

Issue #2437439 by mikhail.krainiuk, greenSkin, jayhawkfan75: Module Filter...

Issue #2437439 by mikhail.krainiuk, greenSkin, jayhawkfan75: Module Filter does not care about anchors in permission links
parent e733847b
No related branches found
No related tags found
No related merge requests found
......@@ -189,16 +189,19 @@ function theme_module_filter_operations(&$vars) {
if ($dropbutton) {
hide($links[$key]);
if (!empty($links[$key]['#href'])) {
$operations[] = array(
$operations[$key] = array(
'title' => $links[$key]['#title'],
'href' => $links[$key]['#href'],
);
if (isset($links[$key]['#options'])) {
$operations[$key] += $links[$key]['#options'];
}
}
}
else {
$data = drupal_render($links[$key]);
if (!empty($data)) {
$operations[] = array('data' => $data);
$operations[$key] = array('data' => $data);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment