From 6bdd4f694481303b293f5e9d8a7efc47c43c5541 Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Thu, 27 Jul 2023 18:24:55 -0400 Subject: [PATCH] Curse whoever came up with the INQR code --- src/GenerateHtml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GenerateHtml.cpp b/src/GenerateHtml.cpp index 6c04222..3c132e8 100644 --- a/src/GenerateHtml.cpp +++ b/src/GenerateHtml.cpp @@ -222,7 +222,7 @@ Json::Value get_data(const Json::Value& data, out[key] = itws[key]; if(out[key].isObject()) out[key]["prefix"] = "ITWS"; } - } else if(course_id.substr(0,6) == "INQR") { + } else if(course_id.substr(0,4) == "INQR") { const auto& inqr = data[course_id]; course_id.replace(0,4,"IHSS"); const auto& ihss = data[course_id];