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

    return unless request.post?

    yaml = ApplicationHelper.get_config_yaml

    unless params[:timecard].blank?
      yaml[:timecard] = Hash.new if yaml[:timecard].nil?
      
      params[:timecard].each do |key, val|
        yaml[:timecard][key] = val
      end
      ApplicationHelper.save_config_yaml(yaml)
    end

    @yaml_timecard = yaml[:timecard]
    @yaml_timecard = Hash.new if @yaml_timecard.nil?

    flash[:notice] = t('msg.update_success')
    render(:action => 'configure')
  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.