forked from mtcontrib/colddb
Bug fix.
Folders where numbered not named.
This commit is contained in:
@ -59,8 +59,8 @@ function colddb.add_tag(db,name,tag)
|
|||||||
db.tags[name] = ""
|
db.tags[name] = ""
|
||||||
end
|
end
|
||||||
if type(tag) == "table" then
|
if type(tag) == "table" then
|
||||||
for _index in pairs(tag) do
|
for key,value in pairs(tag) do
|
||||||
t = string.format("%s%s/",t,_index)
|
t = string.format("%s%s/",t,value)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
t = string.format("%s/",tag)
|
t = string.format("%s/",tag)
|
||||||
|
Reference in New Issue
Block a user