Commit 5e83e7abd1fc37f38b207c6bd40cbb8643e70869

Authored by Michael Joseph
1 parent b0f47a8d

broke out group lookup for clarity


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@140 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 0 deletions
lib/SiteMap.inc
... ... @@ -58,6 +58,7 @@ class SiteMap {
58 58 foreach ($this->siteMapArray as $section => $valArr) {
59 59 // for each group, page array combination
60 60 foreach ($valArr as $requiredGroup => $pageArr) {
  61 + $reqGrpID = lookup_id($default->owl_groups_table, "name", $requiredGroup);
61 62 if ($groupID <= lookup_id($default->owl_groups_table, "name", $requiredGroup)) {
62 63 // now loop through pages until we find the right one
63 64 foreach ($pageArr as $ackshin => $page) {
... ...