From 75848ce166959a4e38c5191522b15e35706d3202 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Mon, 6 Jun 2011 16:14:52 +0200 Subject: Make check link working again. --- data/lib/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/lib/util.js') diff --git a/data/lib/util.js b/data/lib/util.js index f30ddd5..b128d48 100644 --- a/data/lib/util.js +++ b/data/lib/util.js @@ -247,7 +247,7 @@ function ISODateString(d) { * @return position of the string in the list, or -1 if none found. */ function isInList(mbr, list) { - if (!list) { + if (!Array.isArray(list)) { return false; } return (list.indexOf(mbr) !== -1); -- cgit