Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent Breadcrumbs on 404 pages #9

Closed
wants to merge 1 commit into from
Closed

Conversation

ouun
Copy link
Contributor

@ouun ouun commented Apr 20, 2023

This fixes the PHP error Undefined array key 404. Thought about adding a specific key for that case, but as the content is not found it is obsolete IMO.

This fixes the PHP error `Undefined array key 404`. Thought about adding a specific key for that case, but as the content is not found it is obsolete IMO.
@Log1x
Copy link
Owner

Log1x commented Jul 29, 2023

crumb/src/Crumb.php

Lines 163 to 167 in 6abbf11

if (is_404()) {
return $this->add(
$this->config['404']
);
}
exists but it needs renamed. See #7

@Log1x Log1x closed this Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants