www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit b7aab8b8d24a331f56588936db75de2f7bbcd85d
parent 6d18b461654adfb55b4568a222ac422c4bcda121
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu, 13 Apr 2017 00:21:16 -0400

Don't break Zotero

Diffstat:
Mchrome/content/zotero/xpcom/uri.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/uri.js b/chrome/content/zotero/xpcom/uri.js @@ -123,7 +123,7 @@ Zotero.URI = new function () { * @return {Zotero.Library|false} */ this.getPathLibrary = function (path) { - let matches = path.match(/^\/\/?users\/(\d+)); + let matches = path.match(/^\/\/?users\/(\d+)/); if (matches) { let userID = matches[1]; let currentUserID = Zotero.Users.getCurrentUserID();