10000 Merge branch 'hotfix/73' · zendframework/zend-navigation@9221565 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit 9221565

Browse files
committed
Merge branch 'hotfix/73'
Close #73
2 parents 6f49049 + 723a290 commit 9221565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AbstractContainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public function hasPages($onlyVisible = false)
283283
// no visible pages found
284284
return false;
285285
}
286-
return count($this->index) > 0;
286+
return $this->index ? true : false;
287287
}
288288

289289
/**

0 commit comments

Comments
 (0)
0