@@ -74,7 +74,7 @@ public function run() {
7474
7575 } else if ($ patternStoreData ["category " ] == "pattern " ) {
7676
77- if (!$ patternStoreData ["hidden " ]) {
77+ if (isset ( $ patternStoreData [ " hidden " ]) && !$ patternStoreData ["hidden " ]) {
7878
7979 // set-up the info for the nav
8080 $ patternInfo = array ("patternPath " => $ patternStoreData ["pathDash " ]."/ " .$ patternStoreData ["pathDash " ].".html " ,
@@ -124,7 +124,7 @@ public function run() {
124124
125125 // add a view all link
126126 $ navItems ["patternTypes " ][$ patternTypeKey ]["patternTypeItems " ][$ patternSubtypeKey ]["patternSubtypeItems " ][$ subItemsCount ] = array (
127- "patternPath " => $ patternType ."- " .$ patternSubtype ."/index.html " ,
127+ "patternPath " => $ patternType ."- " .$ patternSubtype ."/index.html " ,
128128 "patternName " => "View All " ,
129129 "patternType " => $ patternType ,
130130 "patternSubtype " => $ patternSubtype ,
@@ -144,7 +144,7 @@ public function run() {
144144 // add an overall view all link to the menus with sub-menus
145145 if (!empty ($ navItems ["patternTypes " ][$ patternTypeKey ]["patternTypeItems " ])) {
146146
147- $ navItems ["patternTypes " ][$ patternTypeKey ]["patternItems " ][] = array ("patternPath " => $ patternType ."/index.html " ,
147+ $ navItems ["patternTypes " ][$ patternTypeKey ]["patternItems " ][] = array ("patternPath " => $ patternType ."/index.html " ,
148148 "patternName " => "View All " ,
149149 "patternType " => $ patternType ,
150150 "patternSubtype " => "all " ,
0 commit comments