[-] BO : fix change maximum character for short description

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12116 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-01-04 11:31:54 +00:00
parent c01c61f4a8
commit def3cac8a0
2 changed files with 2 additions and 1 deletions
@@ -185,7 +185,7 @@
languages=$languages
input_name='description_short'
input_value=$product->description_short
max=400}
max=$PS_PRODUCT_SHORT_DESC_LIMIT}
<p class="clear"></p>
</td>
@@ -3169,6 +3169,7 @@ class AdminProductsControllerCore extends AdminController
$data->assign('currency', $currency);
$data->assign($this->tpl_form_vars);
$data->assign('link', $this->context->link);
$data->assign('PS_PRODUCT_SHORT_DESC_LIMIT', Configuration::get('PS_PRODUCT_SHORT_DESC_LIMIT') ? Configuration::get('PS_PRODUCT_SHORT_DESC_LIMIT') : 400);
$this->tpl_form_vars['product'] = $product;
$this->tpl_form_vars['custom_form'] = $this->context->smarty->createTemplate($this->tpl_form, $data)->fetch();
}