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

Status
This content is read-only, or is not open for further replies.

Xon

Guest
offline
PHP:

Code:
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.

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom