[-] FO : Prevent fatal error on getUniqReference when order not loaded
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{if isset($order)}
|
||||
<form action="{if isset($opc) && $opc}{$link->getPageLink('order-opc', true)}{else}{$link->getPageLink('order', true)}{/if}" method="post" class="submit">
|
||||
<div>
|
||||
<input type="hidden" value="{$order->id}" name="id_order"/>
|
||||
@@ -424,3 +424,4 @@
|
||||
{else}
|
||||
<p><img src="{$img_dir}icon/infos.gif" alt="" class="icon" /> {l s='You cannot return merchandise with a guest account'}</p>
|
||||
{/if}
|
||||
{/if}
|
||||
Reference in New Issue
Block a user