diff --git a/content/content.indexes.php b/content/content.indexes.php index 3df69e9..a72ea06 100644 --- a/content/content.indexes.php +++ b/content/content.indexes.php @@ -299,7 +299,7 @@ public function __viewIndex() { $col_name->appendChild(Widget::Input("items[{$section->get('id')}]", null, 'checkbox')); } - if ($index && isset($index['fields']) && count($index['fields'] > 0)) { + if ($index && isset($index['fields']) && (count($index['fields']) > 0)) { $section_fields = $section->fetchFields(); $fields = $this->_indexes[$section->get('id')]['fields']; $fields_list = '';