diff --git a/app/controllers/items_controller.rb b/app/controllers/items_controller.rb index 5bb1b89d..6b278ad6 100644 --- a/app/controllers/items_controller.rb +++ b/app/controllers/items_controller.rb @@ -46,7 +46,7 @@ class ItemsController < ApplicationController @user = current_user - if params[:initem] + if params[:initem] != "" @item = Item.find(params[:initem]) else @item = Item.new()