From 967cbb3f51b73510e67f610ecbc17acc8a5f1e7c Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Tue, 30 Oct 2012 00:40:37 -0400 Subject: [PATCH] t --- app/controllers/items_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()