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

    return unless request.post?

    @item = Item.find(params[:id])

    unless params[:thetisBoxSelKeeper].nil?

      folder_id = params[:thetisBoxSelKeeper].split(':').last

      if Folder.check_user_auth(folder_id, @login_user, 'w', true)

        @item.update_attribute(:folder_id, folder_id)
        flash[:notice] = t('msg.move_success')
      else
        flash[:notice] = 'ERROR:' + t('folder.need_auth_to_write_in')
      end
    end

    render(:partial => 'ajax_move', :layout => false)

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

    flash[:notice] = 'ERROR:' + evar.to_s[0, 64]
    render(:partial => 'ajax_move', :layout => false)
  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.