summaryrefslogtreecommitdiffstats
path: root/etherpad/src/plugins/urlIndexer/controllers/urlBrowser.js
diff options
context:
space:
mode:
Diffstat (limited to 'etherpad/src/plugins/urlIndexer/controllers/urlBrowser.js')
-rw-r--r--etherpad/src/plugins/urlIndexer/controllers/urlBrowser.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/etherpad/src/plugins/urlIndexer/controllers/urlBrowser.js b/etherpad/src/plugins/urlIndexer/controllers/urlBrowser.js
index ebd39bd..cdb9602 100644
--- a/etherpad/src/plugins/urlIndexer/controllers/urlBrowser.js
+++ b/etherpad/src/plugins/urlIndexer/controllers/urlBrowser.js
@@ -72,8 +72,8 @@ function onRequest() {
var queryNewTagsSql = tagQuery.newTagsSql(querySql);
var newTags = sqlobj.executeRaw(queryNewTagsSql.sql, queryNewTagsSql.params);
- urlSql = urlSql(querySql, 10);
- var matchingUrls = sqlobj.executeRaw(urlSql.sql, urlSql.params);
+ url = urlSql(querySql, 10);
+ var matchingUrls = sqlobj.executeRaw(url.sql, url.params);
for (i = 0; i < matchingUrls.length; i++) {
matchingUrls[i].TAGS = matchingUrls[i].TAGS.split('#');