[-] BO : Fix "The controller adminnotound is missing or invalid." error when no controller get variable
This commit is contained in:
@@ -22,7 +22,9 @@
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{if isset($controller) && !empty($controller) && $controller != 'adminnotfound'}
|
||||
<h1>{l s='The controller %s is missing or invalid.' sprintf=$controller}</h1>
|
||||
{/if}
|
||||
<ul>
|
||||
<li><a href="index.php">{l s='Go to the dashboard.'}</a></li>
|
||||
<li><a href="#" onclick="window.history.back();">{l s='Back to the previous page.'}</a></li>
|
||||
|
||||
Reference in New Issue
Block a user