Commit 576dff3b authored by GoshaZotov's avatar GoshaZotov

change getHolidays function

parent 5abacdeb
......@@ -444,6 +444,13 @@
if (bIsError) {
return bIsError;
}
} else {
val = val.tocNumber();
if (val instanceof cError) {
return bIsError = new cError(val);
} else if (val instanceof cNumber) {
holidays.push(val);
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment