Fix empty string comparison issues in the codebase (#16686)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
200a56fa5a
Коммит
94c24eea20
@@ -55,7 +55,7 @@ func (p *AdvancedPermissionsPhase2Progress) IsValid() bool {
|
||||
|
||||
func (worker *Worker) runAdvancedPermissionsPhase2Migration(lastDone string) (bool, string, *model.AppError) {
|
||||
var progress *AdvancedPermissionsPhase2Progress
|
||||
if len(lastDone) == 0 {
|
||||
if lastDone == "" {
|
||||
// Haven't started the migration yet.
|
||||
progress = new(AdvancedPermissionsPhase2Progress)
|
||||
progress.CurrentTable = "TeamMembers"
|
||||
|
||||
Ссылка в новой задаче
Block a user