by Gareth J Barnard.
Ok, I've tracked down the issue to lines 141-146 of \backup\util\ui\backup_ui_setting.class.php:
public function set_label($label) {
if ((string)$label === '' || $label !== clean_param($label, PARAM_TEXT)) {
throw new base_setting_ui_exception('setting_invalid_ui_label');
}
$this->label = $label;
}where 'clean_param($label, PARAM_TEXT)' is causing the issue.
I'll look for a tracker and if not one, raise one.