I'm a little surprised I haven't noticed this before.

Problem/Motivation

When saving a content type, the error message 'Please enter valid URLs' occurs if 'Enable Boost Clear Cache' is not selected and page_clear_bcc is empty.

Steps to reproduce

  1. Edit a content type.
  2. Leave 'Enable Boost Clear Cache' unchecked.
  3. Save content type.

Proposed resolution

Disable validation of 'page_clear_bcc' field if bcc isn't enabled for the content type.

Comments

mkindred created an issue. See original summary.

mkindred’s picture

Attached is a patch (with a couple whitespace fixes).