Skip to content

Commit

Permalink
修正正式环境返回Item数据id缺失的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Jul 28, 2011
1 parent 3d3877e commit 3249e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/top4r/model/item.rb
Expand Up @@ -75,7 +75,7 @@ def search(q)
end

def unmarshal_other_attrs
@id = @iid
@id = @num_iid
if @location && @location.size > 0
@location = Location.new(@location)
else
Expand Down

0 comments on commit 3249e16

Please sign in to comment.