sort on created date

This commit is contained in:
Jonathan Cremin 2014-12-13 12:12:44 +00:00
parent 23896f7ee6
commit 0c1bcb728d
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ module.exports.parseUrl = function(url) {
};
module.exports.lookupId = function(id, type, cc) {
if (id.match(/^[a-z]{2}/)) {
if (String(id).match(/^[a-z]{2}/)) {
cc = id.substr(0,2);
id = id.substr(2);
}