mirror of https://github.com/MISP/MISP
Crumbs not shown on error messages
parent
cc417fdb05
commit
964d39143b
|
@ -51,7 +51,8 @@
|
|||
>
|
||||
<?php
|
||||
// Add locations here that should not have a breadrumb displayed
|
||||
if ($this->params['action'] !== 'login'):
|
||||
// If we get an error, also, we don't want the breadcrumbs shown
|
||||
if ($this->params['action'] !== 'login' && $this->response->statusCode() < '400'):
|
||||
?>
|
||||
<div class="breadcrumb <?php echo $debugMode; ?>">
|
||||
<?php echo $this->Html->getCrumbs(' > ', 'Home');?>
|
||||
|
|
Loading…
Reference in New Issue