diff --git a/util.js b/util.js index 36e3757..2cac252 100644 --- a/util.js +++ b/util.js @@ -283,7 +283,7 @@ updatePage = function (data) { url: 'getJSON.php?search=1&db=%DB&query=%QUERY', replace: function (url, query) { if (currentData.multipleDatabase === 1 && currentData.databaseId === "") { - return url.replace('%QUERY', query).replace('&db=%DB', "") + return url.replace('%QUERY', query).replace('&db=%DB', ""); } return url.replace('%QUERY', query).replace('%DB', currentData.databaseId); }