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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13961 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-03-08 10:39:15 +00:00
parent e9d9f2b54c
commit aa50294a44
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;