[-] BO : fix bug #PSFV-529 - AdminGeolocalisation : isCleanHtml control on checkbox

This commit is contained in:
tDidierjean
2012-03-08 10:39:15 +00:00
parent 8ccff015d4
commit df459952cd
3 changed files with 42 additions and 42 deletions
+3 -2
View File
@@ -64,8 +64,9 @@ class HelperOptionsCore extends Helper
foreach ($category_data['fields'] as $key => $field)
{
// Set field value
$field['value'] = $this->getOptionValue($key, $field);
// Set field value unless explicitly denied
if (!isset($field['auto_value']) || $field['auto_value'])
$field['value'] = $this->getOptionValue($key, $field);
// Check if var is invisible (can't edit it in current shop context), or disable (use default value for multishop)
$isDisabled = $isInvisible = false;