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

Fixed Post Only Missing

Discussion in 'Resolved Bug Reports' started by batpool52!, Feb 4, 2015.

  1. batpool52!

    batpool52! Well-Known Member

    Inside action Save under controller UserField there is no checking done for Post Only. So this
    Code:
    public function actionSave()
        {
            $fieldId = $this->_input->filterSingle('field_id', XenForo_Input::STRING);
    could be
    Code:
    public function actionSave()
        {
            $this->_assertPostOnly();
            $fieldId = $this->_input->filterSingle('field_id', XenForo_Input::STRING);
     
  2. Mike

    Mike XenForo Developer Staff Member

    Added, thanks.
     
    batpool52! likes this.

Share This Page