GX-Bug #49060 » RegExProductListingTruncateFix.patch
src/templates/Honeygrid/smarty/function.product_listing.php (revision ) | ||
---|---|---|
164 | 164 |
|
165 | 165 |
mb_regex_encoding('UTF-8'); |
166 | 166 |
mb_regex_set_options('m'); |
167 |
$pattern = '^.{1,' . $options['truncate'] . '}\b';
|
|
167 |
$pattern = '^.{1,' . $options['truncate'] . '}'; |
|
168 | 168 |
if(mb_ereg($pattern, html_entity_decode_wrapper($product['PRODUCTS_NAME']), $shortened)) |
169 | 169 |
{ |
170 | 170 |
$extend = (strlen($product['PRODUCTS_NAME']) |