Pre PHP 5.6 regression fix

This commit is contained in:
Andy Miller
2016-08-21 09:48:01 -06:00
parent 9e2cd09cd7
commit de1d824439

View File

@@ -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();