Skip to content

remove basepath from query#20

Merged
Gummibeer merged 2 commits intoAstrotomic:masterfrom
nerdroid23:remove-basepath-from-query
Mar 5, 2021
Merged

remove basepath from query#20
Gummibeer merged 2 commits intoAstrotomic:masterfrom
nerdroid23:remove-basepath-from-query

Conversation

@nerdroid23
Copy link
Copy Markdown
Contributor

This PR tries to implement the feature requested in #6, it also includes the a test as requested
If any changes are required, I will gladly implement them and send in a new PR

@nerdroid23 nerdroid23 closed this Mar 4, 2021
@nerdroid23 nerdroid23 reopened this Mar 4, 2021
}

if (strpos($query, base_path()) !== false) {
if (Str::contains($query, base_path())) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚀 thanks for this readability improvement!

@Gummibeer
Copy link
Copy Markdown
Member

Thanks for the PR! 🙏
Will merge and release it now.

@Gummibeer Gummibeer merged commit 9fcdd01 into Astrotomic:master Mar 5, 2021
@Gummibeer
Copy link
Copy Markdown
Member

https://github.com/Astrotomic/ignition-stackoverflow/releases/tag/1.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants