typo
This commit is contained in:
parent
aa34353a9e
commit
e9731146b0
2
obj.go
2
obj.go
@ -267,7 +267,7 @@ func setObjSubTypeId(objId int64, objSubTypeID64 int64) error {
|
||||
func objAddName(objID64 int64, name string) error {
|
||||
var priority int64
|
||||
|
||||
stmt, err := db.Prepare(`SELECT COUNT(*) FROM obj_name on WHERE on.obj_id = ?`)
|
||||
stmt, err := db.Prepare(`SELECT COUNT(*) FROM obj_name obn WHERE obn.obj_id = ?`)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user