test
This commit is contained in:
parent
2b82ed03f0
commit
cec19fdfbe
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 {
|
||||
objID64, err := addObjItem(code, name, itemTypeID64, weight)
|
||||
objID64, err = addObjItem(code, name, itemTypeID64, weight)
|
||||
logOnError(err, "reloadObjItem : addObjItem")
|
||||
}
|
||||
if silentGetObjItemID(``, name) == 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user