CRM-21328: Remove '-select-' Option From Visibility
authorCamilo Rodriguez <camilo@compucorp.co.uk>
Tue, 24 Oct 2017 17:44:09 +0000 (17:44 +0000)
committerCamilo Rodriguez <camilo@compucorp.co.uk>
Tue, 24 Oct 2017 17:44:09 +0000 (17:44 +0000)
commit2bc7601f9e9f80bc91cc1e04c0d60d07b664ae63
treea09148fcf952c796dd318b7253d79a2af0e1c0e2
parent2e31bc8a182d7fe623a7cb85c821b5dc58ed4566
CRM-21328: Remove '-select-' Option From Visibility

As the visibility per option field is not mandatory, the user can choose the
empty option and save the field. This caused some PHP warnings to be issued on
event registration forms that used the field with empty visibility options.

Removed the empty option from the visibility per option select.
CRM/Price/Form/Field.php