test
This commit is contained in:
parent
d01ebb2393
commit
2189d6ba82
2
items.go
2
items.go
@ -8,7 +8,7 @@ func reloadObjItem(code string, name string, itemTypeID64 int64, weight int) {
|
||||
var objID64 int64
|
||||
objID64 = silentGetObjItemID(code, ``)
|
||||
if objID64 == 0 {
|
||||
id, err = addObjItem(code, name, itemTypeID64, weight)
|
||||
id, err := addObjItem(code, name, itemTypeID64, weight)
|
||||
objID64 = id
|
||||
logOnError(err, "reloadObjItem : addObjItem")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user