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