unbreak db_notes when given no addresses

git-svn-id: file:///home/svn/framework3/trunk@13233 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2011-07-19 19:18:12 +00:00
parent 578d3bc101
commit 8f7d935cf7
1 changed files with 4 additions and 0 deletions

View File

@ -705,6 +705,10 @@ class Db
end
end
if hostlist.empty?
hostlist = nil
end
case mode
when :add
if types.size != 1