diff --git a/backend/server/helpers/application_helper.js b/backend/server/helpers/application_helper.js index 36b3a9b24..f4b1a2814 100755 --- a/backend/server/helpers/application_helper.js +++ b/backend/server/helpers/application_helper.js @@ -46,13 +46,13 @@ function CurrentTermAndYear() { * @returns {string} */ function getCurrentTerm(month) { - if (1 <= month <= 5) { + if (1 <= month && month <= 5) { return 'K' } - if (6 <= month <= 8) { + if (6 <= month && month <= 8) { return 'V' } - if (9 <= month <= 12) { + if (9 <= month && month <= 12) { return 'S' } }