// Avoid notice with undefined variable confirm

This commit is contained in:
mDeflotte
2012-01-25 08:13:05 +00:00
parent 23e867cfe0
commit 262bba848b
@@ -23,6 +23,6 @@
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<a href="{$href}" onclick="return confirm('{$confirm}');" title="{$action}">
<a href="{$href}" {if isset($confirm)}onclick="return confirm('{$confirm}');"{/if} title="{$action}">
<img src="../img/admin/delete.gif" alt="{$action}" />
</a>