fix: typo
This commit is contained in:
parent
7e5c336b03
commit
2b161ad112
|
@ -193,7 +193,7 @@ func (tf *TaskCollection) ReadAll(s *xorm.Session, a web.Auth, search string, pa
|
||||||
projects = append(projects, project)
|
projects = append(projects, project)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Check the project exists and the user has acess on it
|
// Check the project exists and the user has access on it
|
||||||
project := &Project{ID: tf.ProjectID}
|
project := &Project{ID: tf.ProjectID}
|
||||||
canRead, _, err := project.CanRead(s, a)
|
canRead, _, err := project.CanRead(s, a)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue