[Fixed v1.5.1] HTML Entities Converted Incorrectly in Configuration Fields
If you save a configuration value with double quotes, it will store it in the database as ". If you then go to edit it, you'll see " in the field. When you save it again, it'll be stored as ". Continuing this process will creat " " and so on.
The fix I've used is to change lines 178 to 182 to the following:
PHP Code:
if ($cInfo->set_function) {
eval('$value_field = ' . $cInfo->set_function . '"' . addslashes(html_entity_decode($cInfo->configuration_value)) . '");');
} else {
$value_field = zen_draw_input_field('configuration_value', addslashes(html_entity_decode($cInfo->configuration_value)), 'size="60"');
}
Re: HTML Entities Converted Incorrectly in Configuration Fields
That code suggestion didn't seem to work during testing.
However, an alternate fix was made, and included in v1.5.1, released today.