mirror of
https://github.com/getgrav/grav.git
synced 2026-02-18 04:28:22 +01:00
Pre PHP 5.6 regression fix
This commit is contained in:
@@ -851,7 +851,7 @@ class Pages
|
||||
|
||||
$page_extension = '';
|
||||
|
||||
if ($pages_found and $pages_found->count() > 0) {
|
||||
if ($pages_found and count($pages_found) > 0) {
|
||||
|
||||
$page_extensions = $language->getFallbackPageExtensions();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user