Skip to content

Commit

Permalink
Pre PHP 5.6 regression fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Aug 21, 2016
1 parent 9e2cd09 commit de1d824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/src/Grav/Common/Page/Pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ protected function recurse($directory, Page &$parent = null)

$page_extension = '';

if ($pages_found and $pages_found->count() > 0) {
if ($pages_found and count($pages_found) > 0) {

$page_extensions = $language->getFallbackPageExtensions();

Expand Down

0 comments on commit de1d824

Please sign in to comment.