Quellcode durchsuchen

Merge remote-tracking branch 'origin/eta/1.8.3' into debug

Roc vor 8 Monaten
Ursprung
Commit
e470fd3af9
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      services/ppt.go

+ 1 - 1
services/ppt.go

@@ -107,7 +107,7 @@ func SavePPTReport(pptId, classifyId int, title string, adminInfo *system.Admin)
 		return
 	}
 	twoClassify, hasTwo = classifyMap[baseClassify.ParentId]
-	if ok {
+	if hasTwo {
 		threeClassify, hasThird = classifyMap[twoClassify.ParentId]
 	}