// Fix multishop checkbox on theme selection

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15423 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-05-19 10:43:01 +00:00
parent 6230b51db1
commit 5781694b9f
4 changed files with 7 additions and 3 deletions
+4
View File
@@ -63,8 +63,12 @@ class HelperOptionsCore extends Helper
if (!isset($category_data['fields']))
$category_data['fields'] = array();
$category_data['hide_multishop_checkbox'] = true;
foreach ($category_data['fields'] as $key => $field)
{
if (empty($field['no_multishop_checkbox']))
$category_data['hide_multishop_checkbox'] = false;
// Set field value unless explicitly denied
if (!isset($field['auto_value']) || $field['auto_value'])
$field['value'] = $this->getOptionValue($key, $field);