Bug #23548 Bug Fixed

Saving a Grid field in a non-channel content type throws an error

Version: 4.1.3 Reporter: Low

See also this support thread submitted for me: https://getsatisfaction.com/low/topics/lv-throwing-php-error-when-saving-any-group-with-grid-in-it

The LV-grid field has no ‘field_search’ setting (which isn’t Grid specific anyway), and it makes no sense to have that data saved for LV anyways. The Grid field type should probably check if the property exists at all, ie, changing

if ($this->settings['field_search'])

to

if (isset($this->settings['field_search']) && $this->settings['field_search'])
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases