- πΈπ°Slovakia poker10
I can confirm this bug, we have are experiencing it. As mentioned in the IS, the problem is that the
array_key_exists
compares the script path with the JS array before the category is removed:if (array_key_exists($script, $javascript)) { // Remove 'category:' if present. .. }
So instead of looking for
sites/all/modules/example/example.js
it will look forexamplecat:sites/all/modules/example/example.js
and this will not be found in the JS array and thus not unset.Thanks for working on this! Should this be Needs review?
-
svenryen β
committed 02354235 on 7.x-1.x authored by
lukas_w β
Issue #3317344 by lukas_w, svenryen, poker10: Disabling scripts with...
-
svenryen β
committed 02354235 on 7.x-1.x authored by
lukas_w β
- Status changed to Fixed
about 1 year ago 12:24pm 15 October 2023 Automatically closed - issue fixed for 2 weeks with no activity.