rsanchez/entry_type — Issue #20: PHP error when type has no fields hidden
Author: andparsons
Created: 2012-01-17 13:48:52+00:00
State: open

If a type is created where there are no fields selected in the hide fields column, the value of $data['hide_fields'] is classed as undefined instead of null.

The following error appears on the edit field page:

> A PHP Error was encountered
> Severity: Notice
> Message: Undefined index: hide_fields
> Filename: views/options.php
> Line Number: 13

And the following error appears on the edit entry page:

> A PHP Error was encountered
> Severity: Notice
> Message: Undefined index: hide_fields
> Filename: entry_type/ft.entry_type.php
> Line Number: 111