Skip to content

Commit e026017

Browse files
author
Melih Korkmaz
committed
Fixed if condition for undefined check
1 parent b7b790f commit e026017

File tree

1 file changed

+1
-1
lines changed
  • plugins/times-of-day/api

1 file changed

+1
-1
lines changed

plugins/times-of-day/api/api.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var plugin = {},
3737
var options = {};
3838

3939

40-
if (hasSession && !params.qstring.hour && !params.qstring.dow) {
40+
if (hasSession && params.qstring.hour && params.qstring.dow) {
4141
var sessionDate = common.initTimeObj(params.appTimezone, params.qstring.timestamp);
4242
let id = "[CLY]_session" + "_" + sessionDate.monthly.replace('.', ':');
4343

0 commit comments

Comments
 (0)