1. 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

Discussion in 'Resource Manager Resolved Bugs' started by Nobita.Kun, Feb 24, 2015.

  1. Nobita.Kun

    Nobita.Kun Well-Known Member

    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')
                );
            }
     
  2. Nobita.Kun

    Nobita.Kun Well-Known Member

    Hi @Brogan . Please move this thread and mark as 'Not a Bug'. It is my mistake :)
     

Share This Page