Permalink
Browse files

null is not a booking

  • Loading branch information...
1 parent 959fb0d commit 38f3b0f02b6b6b94945e0a4c078b485747e354df @scy committed Feb 26, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 coco-icalres.js
View
2 coco-icalres.js
@@ -16,7 +16,7 @@ var events = [];
var started = '' + (new Date());
var isTask = function (task) {
- return task !== '' && task !== '---';
+ return task !== '' && task !== '---' && task !== null;
}
db.each('SELECT * FROM days WHERE username = (?)', user, function (err, row) {

0 comments on commit 38f3b0f

Please sign in to comment.