  def do_confirm
    Log.add_info(request, params.inspect)

    return unless request.post?

    @research = Research.find(params[:research_id])
    @research.update_attribute(:status, Research::U_STATUS_COMMITTED)

    render(:action => 'show_receipt')

  rescue => evar
    Log.add_error(request, evar)
    render(:action => 'edit_page')
  end
The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.