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

Added catalog detail abort on 404 #407

Merged
merged 1 commit into from
Sep 19, 2021
Merged

Conversation

zherdev-artem
Copy link
Contributor

Comment on lines 55 to 60
$params['aiheader'][$name] = Shop::get( $name )->getHeader();
$params['aibody'][$name] = Shop::get( $name )->getBody();
} catch(\Exception $e) {
if ( $e->getCode() === 404 ) { abort(404); }
throw $e;
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please fix indentions (one tab per indention)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@aimeos
Copy link
Owner

aimeos commented Sep 19, 2021

Thanks a lot

@aimeos aimeos merged commit b24b65e into aimeos:master Sep 19, 2021
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.

3 participants