You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.
In the ToolProvider class a check is made on the capabilities.
Line 895 states the following:
if (!in_array($name, $capabilities) && !in_array($name, array_flip($capabilities))) {
However the use of array_flip in combination with == in line 895 causes every capability to pass, since string == 0 is true (see link)
Either remove the array_flip part, since I don't think it is needed.
Or make it a strong comparison: ===
The text was updated successfully, but these errors were encountered: