Skip to content
Snippets Groups Projects
Commit d9df464a authored by JediKev's avatar JediKev
Browse files

issue: SubQueues Hide PersonalQueues

This addresses an issue where adding SubQueues hides PersonalQueues. This
was due to the variable `$childs` being reset in the sub-navigation
template.
parent 460b445f
No related branches found
No related tags found
No related merge requests found
......@@ -34,21 +34,21 @@ global $thisstaff;
<ul class="subMenuQ">
<?php
foreach ($children as $_) {
list($q, $childs) = $_;
list($q, $childz) = $_;
if (!$q->isPrivate())
$closure_include($q, $childs);
$closure_include($q, $childz);
}
// Include personal sub-queues
$first_child = true;
foreach ($children as $_) {
list($q, $childs) = $_;
list($q, $childz) = $_;
if ($q->isPrivate()) {
if ($first_child) {
$first_child = false;
echo '<li class="personalQ"></li>';
}
$closure_include($q, $childs);
$closure_include($q, $childz);
}
} ?>
</ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment