Replace JRequest::get('post') with JInput::getArray()