From 93446ca30ddda819211875ca12ec8955b20115d3 Mon Sep 17 00:00:00 2001 From: Toastie Date: Fri, 27 Dec 2024 00:47:23 +1300 Subject: [PATCH] Slight update --- Commands/AdminCommands.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Commands/AdminCommands.cs b/Commands/AdminCommands.cs index 5d5eed0..f621017 100644 --- a/Commands/AdminCommands.cs +++ b/Commands/AdminCommands.cs @@ -280,10 +280,12 @@ public class AdminCommands foreach (KeyValuePair interviewRoot in interview) { interviewRoot.Value.Validate(ref errors, out int summaryCount, out int summaryMaxLength); + if (summaryCount > 25) { errors.Add("A summary cannot contain more than 25 fields, but you have " + summaryCount + " fields in one of your interview branches."); } + if (summaryMaxLength >= 6000) { errors.Add("A summary cannot contain more than 6000 characters, but one of your branches has the possibility of its summary reaching " + summaryMaxLength + " characters.");