- Affected version
- 2.1
In the following file :
../addons/XFES/Service/Optimizer.php
theres a check on line 38 that fails
if(!$config['mappings'])
{
return true;
}
If "mappings" is not in the $config array, it will throw an "Undefined Index" error
I've fixed this on my copy by changing it to :-
if(!isset($config['mappings']) || !$config['mappings'])
{
return true;
}
I cant imagine there are any implications to this but i thought i would let you know
so that i dont have to maintain my own patched build. Please could you patch the official XFES distrubution
Many Thanks
N
../addons/XFES/Service/Optimizer.php
theres a check on line 38 that fails
if(!$config['mappings'])
{
return true;
}
If "mappings" is not in the $config array, it will throw an "Undefined Index" error
I've fixed this on my copy by changing it to :-
if(!isset($config['mappings']) || !$config['mappings'])
{
return true;
}
I cant imagine there are any implications to this but i thought i would let you know
so that i dont have to maintain my own patched build. Please could you patch the official XFES distrubution
Many Thanks
N