XenForo
Administrative
- Thread starter
- Admin
- #1
In XF\Extension::removeClassExtensions, we have:
Code:
However, this does not check that the key $this->classExtensions[$class] exists before looping it, which throws an invalid key error and a foreach error. Since XF\Extension also provides no getter for $this->classExtensions, there is no easy way for an add-on to know whether this key exists if they need to call...
Read more
Read more about this Feed . . .
Code:
Code:
foreach ($this->classExtensions[$class] AS $subclass)
{
unset($this->inverseExtensionMap[$subclass]);
}
Read more
Read more about this Feed . . .