[*] BO : change a number of character by short description(BL007)

This commit is contained in:
lLefevre
2011-09-12 11:57:30 +00:00
parent ad7f5455ab
commit 0facca0782
+1 -1
View File
@@ -1118,7 +1118,7 @@ class AdminProducts extends AdminTab
/* Check description short size without html */
$limit = (int)Configuration::get('PS_PRODUCT_SHORT_DESC_LIMIT');
if ($limit <= 0) $limit = 400;
if ($limit <= 0) $limit = 800;
foreach ($languages AS $language)
if ($value = Tools::getValue('description_short_'.$language['id_lang']))
if (Tools::strlen(strip_tags($value)) > $limit)