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

As Designed Wrong filter

Discussion in 'Resource Manager Resolved Bugs' started by batpool52!, Mar 19, 2015.

  1. batpool52!

    batpool52! Well-Known Member

    $prefixFilter $this->_input->filterSingle('prefix_id'XenForo_Input::INT);
    should be
    $prefixFilter $this->_input->filterSingle('prefix_id'XenForo_Input::UINT);
    under Resource controller
  2. Jeremy

    Jeremy Well-Known Member

    Unless you have a massive amount of prefixes (over 2 billion), this won't be an issue because the bit used to signify positive/negative won't change and will always signal positive.
  3. Mike

    Mike XenForo Developer Staff Member

    No this is valid. -1 represents filtering to none.
    Jeremy and batpool52! like this.

Share This Page