[*] BO : change a number of character by short description(BL007)
This commit is contained in:
1 parent
ad7f5455ab
commit
0facca0782
1 file changed
+1
-1
@@ -1118,7 +1118,7 @@ class AdminProducts extends AdminTab
|
|||||||
|
|
||||||
/* Check description short size without html */
|
/* Check description short size without html */
|
||||||
$limit = (int)Configuration::get('PS_PRODUCT_SHORT_DESC_LIMIT');
|
$limit = (int)Configuration::get('PS_PRODUCT_SHORT_DESC_LIMIT');
|
||||||
if ($limit <= 0) $limit = 400;
|
if ($limit <= 0) $limit = 800;
|
||||||
foreach ($languages AS $language)
|
foreach ($languages AS $language)
|
||||||
if ($value = Tools::getValue('description_short_'.$language['id_lang']))
|
if ($value = Tools::getValue('description_short_'.$language['id_lang']))
|
||||||
if (Tools::strlen(strip_tags($value)) > $limit)
|
if (Tools::strlen(strip_tags($value)) > $limit)
|
||||||
|
|||||||
Reference in new issue
Block a user