-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Update get.php #4224
Update get.php #4224
Conversation
@@ -22,6 +22,7 @@ | |||
foreach ($allowedResources as $allowedResource) { | |||
if (0 === stripos($resource, $allowedResource)) { | |||
$isResourceAllowed = true; | |||
break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @vkublytskyi, I've done as you've asked. |
@thaiphan, thank you for quick response. We will process this PR |
Internal ticket MAGETWO-52019 |
@piotrekkaminski, @okobchenko, @vkublytskyi, @joanhe, what's the status of this pull request? |
@thaiphan Merged! Thank you for the contribution. |
Yay! |
[pangolin] MQE-1566: Fix mftf and zephyr tests that results in non unique match
This change will stop Magento from unnecessarily looping through all the remaining allowed resources if it discovers that the resource in question is already allowed.