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

As designed Wrong filter

batpool52!

Well-known member
#1
PHP:
$prefixFilter = $this->_input->filterSingle('prefix_id', XenForo_Input::INT);
should be
PHP:
$prefixFilter = $this->_input->filterSingle('prefix_id', XenForo_Input::UINT);
under Resource controller
 

Jeremy

Well-known member
#2
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.