Skip to content
Snippets Groups Projects
Unverified Commit af3335b7 authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4682 from JediKev/issue/sub-queues-hide-personal-queues

issue: SubQueues Hide PersonalQueues
parents 027503f1 d9df464a
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