• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug Invalid condition in clean up category

Nobita.Kun

Well-known member
#1
Hi. Just look up on ControllerAdmin_Category line 203:

PHP:
if (!$id || $info)
        {
            return $this->responseRedirect(
                XenForo_ControllerResponse_Redirect::RESOURCE_CANONICAL,
                XenForo_Link::buildAdminLink('resource-categories')
            );
        }
I think it should be:
PHP:
if (!$id || !$info)
        {
            return $this->responseRedirect(
                XenForo_ControllerResponse_Redirect::RESOURCE_CANONICAL,
                XenForo_Link::buildAdminLink('resource-categories')
            );
        }