Fix Typo Errors (#3885)

* Fix typos

* Fix typos
pull/3781/merge
SeongAhJo 2016-12-21 17:33:30 +09:00 committed by 无闻
parent ad6de46ce4
commit bab051a8c1
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ func init() {
IssueReferenceKeywordsPat = regexp.MustCompile(`(?i)(?:)(^| )\S+`) IssueReferenceKeywordsPat = regexp.MustCompile(`(?i)(?:)(^| )\S+`)
} }
// Action represents user operation type and other information to repository., // Action represents user operation type and other information to repository,
// it implemented interface base.Actioner so that can be used in template render. // it implemented interface base.Actioner so that can be used in template render.
type Action struct { type Action struct {
ID int64 `xorm:"pk autoincr"` ID int64 `xorm:"pk autoincr"`

View File

@ -650,7 +650,7 @@ func newIssue(e *xorm.Session, opts NewIssueOptions) (err error) {
} }
if len(opts.LableIDs) > 0 { if len(opts.LableIDs) > 0 {
// During the session, SQLite3 dirver cannot handle retrieve objects after update something. // During the session, SQLite3 driver cannot handle retrieve objects after update something.
// So we have to get all needed labels first. // So we have to get all needed labels first.
labels := make([]*Label, 0, len(opts.LableIDs)) labels := make([]*Label, 0, len(opts.LableIDs))
if err = e.In("id", opts.LableIDs).Find(&labels); err != nil { if err = e.In("id", opts.LableIDs).Find(&labels); err != nil {