\XF\Image\Manager::canResize has a bugged check

Xon

Well-known member
Affected version
2.3.7
PHP:
public function canResize($width, $height)
{
    if (!$this->maxResizePixels === null)
    {
        return true;
    }
I'm fairly sure this check is broken, as there is no value you can store into maxResizePixels that makes that branch return true.
 
Back
Top Bottom