[-] BO : Fix "The controller adminnotound is missing or invalid." error when no controller get variable

This commit is contained in:
gRoussac
2013-05-15 11:31:55 +02:00
parent 6796738cfd
commit c7aa92f3b3
4 changed files with 9 additions and 5 deletions
@@ -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>