[-] BO : fixed sav display message in hard coded html span #PSTEST-545

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12741 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-01-27 09:33:48 +00:00
parent c7aacb77b5
commit 35e6143f5b
3 changed files with 7 additions and 9 deletions
+1 -7
View File
@@ -295,13 +295,7 @@ class HelperListCore extends Helper
$this->_list[$index][$key] = Tools::displayDate($tr[$key], $this->context->language->id, true);
else if (isset($tr[$key]))
{
if ($key == 'price')
$echo = round($tr[$key], 2);
else if (isset($params['maxlength']) && Tools::strlen($tr[$key]) > $params['maxlength'])
$echo = '<span title="'.$tr[$key].'">'.Tools::substr($tr[$key], 0, $params['maxlength']).'...</span>';
else
$echo = $tr[$key];
$echo = $tr[$key];
if (isset($params['callback']))
{
$callback_obj = (isset($params['callback_object'])) ? $params['callback_object'] : $this->context->controller;