Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
qzuw committed Aug 7, 2018
1 parent 27540dc commit 28e0765
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/server/helpers/application_helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
Expand Down

0 comments on commit 28e0765

Please sign in to comment.