Skip to content

Commit 28e0765

Browse files
committed
bugfix
1 parent 27540dc commit 28e0765

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

backend/server/helpers/application_helper.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ function CurrentTermAndYear() {
4646
* @returns {string}
4747
*/
4848
function getCurrentTerm(month) {
49-
if (1 <= month <= 5) {
49+
if (1 <= month && month <= 5) {
5050
return 'K'
5151
}
52-
if (6 <= month <= 8) {
52+
if (6 <= month && month <= 8) {
5353
return 'V'
5454
}
55-
if (9 <= month <= 12) {
55+
if (9 <= month && month <= 12) {
5656
return 'S'
5757
}
5858
}

0 commit comments

Comments
 (0)