[-] BO : Avoid warning if img src not defined in controller
This commit is contained in:
1 parent
b994136939
commit
a6dbe24d28
1 file changed
+3
-1
@@ -82,7 +82,9 @@
|
|||||||
{elseif isset($params.image)}
|
{elseif isset($params.image)}
|
||||||
{$tr.$key}
|
{$tr.$key}
|
||||||
{elseif isset($params.icon)}
|
{elseif isset($params.icon)}
|
||||||
<img src="../img/admin/{$tr[$key]['src']}" alt="{$tr[$key]['alt']}" title="{$tr[$key]['alt']}" />
|
{if is_array($tr[$key])}
|
||||||
|
<img src="../img/admin/{$tr[$key]['src']}" alt="{$tr[$key]['alt']}" title="{$tr[$key]['alt']}" />
|
||||||
|
{/if}
|
||||||
{elseif isset($params.price)}
|
{elseif isset($params.price)}
|
||||||
{$tr.$key}
|
{$tr.$key}
|
||||||
{elseif isset($params.float)}
|
{elseif isset($params.float)}
|
||||||
|
|||||||
Reference in new issue
Block a user