[-] FO : fixed bug #PSCFV-5649 - Product comparison error when Features are not set

This commit is contained in:
Sarah Lorenzini committed 2012-11-22 18:42:56 +01:00
1 parent 625e0f0c5b
commit 92541b8aca
1 file changed
+1 -1
+1 -1
View File
@@ -121,7 +121,7 @@
{assign var='feature_id' value=$feature.id_feature} {assign var='feature_id' value=$feature.id_feature}
{if isset($product_features[$product_id])} {if isset($product_features[$product_id])}
{assign var='tab' value=$product_features[$product_id]} {assign var='tab' value=$product_features[$product_id]}
<td width="{$width}%" class="{$classname} comparison_infos">{$tab[$feature_id]|escape:'htmlall':'UTF-8'}</td> <td width="{$width}%" class="{$classname} comparison_infos">{if (isset($tab[$feature_id]))}{$tab[$feature_id]|escape:'htmlall':'UTF-8'}{/if}</td>
{else} {else}
<td width="{$width}%" class="{$classname} comparison_infos"></td> <td width="{$width}%" class="{$classname} comparison_infos"></td>
{/if} {/if}