瀏覽代碼

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

Roc 8 月之前
父節點
當前提交
e470fd3af9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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]
 	}