1
0
Fork 0

fixed jslint warning

This commit is contained in:
Jan Steemann 2013-04-12 19:53:27 +02:00
parent 3f698acef8
commit 780c2a6caa
1 changed files with 1 additions and 1 deletions

View File

@ -1957,7 +1957,7 @@ function addCookie (res, name, value, lifeTime, path, domain, secure, httpOnly)
};
if (lifeTime !== undefined && lifeTime !== null) {
cookie.lifeTime = parseInt(lifeTime);
cookie.lifeTime = parseInt(lifeTime, 10);
}
if (path !== undefined && path !== null) {
cookie.path = path;