diff --git a/core/modules/wiki.js b/core/modules/wiki.js index ec56d97b7..bfc0f146a 100755 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -524,7 +524,7 @@ exports.sortByList = function(array,listTitle) { if(!array || array.length === 0) { return []; } else { - var titles = [], t, title; + var t, title, titles = [], unlisted = []; // First place any entries that are present in the list for(t=0; t