fix: typo
This commit is contained in:
parent
e93a5ff11f
commit
4c698dc7c7
@ -196,7 +196,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…
x
Reference in New Issue
Block a user