Corrected Mirror.NextUpdate not set (#1388)

This commit is contained in:
Jonas 2017-04-06 02:56:45 +02:00 committed by Lunny Xiao
parent 2d1efcc270
commit e7493e953f

View File

@ -61,7 +61,7 @@ func (m *Mirror) AfterSet(colName string, _ xorm.Cell) {
}
case "updated_unix":
m.Updated = time.Unix(m.UpdatedUnix, 0).Local()
case "next_updated_unix":
case "next_update_unix":
m.NextUpdate = time.Unix(m.NextUpdateUnix, 0).Local()
}
}