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

    return unless request.post?

    year = params[:year].to_i
    num = params[:num].to_f

    user = User.find(params[:user_id])

    unless user.nil?
      PaidHoliday.update_for(user.id, year, num)
    end

    flash[:notice] = t('msg.update_success')

    paidhld_list

  rescue => evar
    Log.add_error(request, evar)

    paidhld_list
  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.