Projekt

Allgemein

Profil

GX-Bug #49060 » RegExProductListingTruncateFix.patch

/templates/Honeygrid/smarty/function.product_listing.php - Till Tepelmann, 28.10.2016 11:18

Unterschiede anzeigen:

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'])
    (1-1/1)