fix name adding
This commit is contained in:
parent
39a944a611
commit
4a5df86d70
2
item.go
2
item.go
@ -394,7 +394,7 @@ func loadObjItem() error {
|
|||||||
logOnError(err, "loadObjItem : addObjItem")
|
logOnError(err, "loadObjItem : addObjItem")
|
||||||
objItems[i].ObjID64 = id
|
objItems[i].ObjID64 = id
|
||||||
cacheObjItemId[id] = i
|
cacheObjItemId[id] = i
|
||||||
for _, n := range objItems[i].Names {
|
for _, n := range objItems[i].Names[1:] {
|
||||||
err = objAddName(id, n)
|
err = objAddName(id, n)
|
||||||
logOnError(err, "loadObjItem : objAddName")
|
logOnError(err, "loadObjItem : objAddName")
|
||||||
cacheObjItem[n] = id
|
cacheObjItem[n] = id
|
||||||
|
Loading…
Reference in New Issue
Block a user