www

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

commit 6935310c75e8747a6e3ad10fc52e6d4e45c9213e
parent a22c4969e6a4a868435ace6555da73d00e284152
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun,  7 Jun 2015 15:42:39 -0400

Fix Zotero.Users.setCurrentUsername()

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

diff --git a/chrome/content/zotero/xpcom/users.js b/chrome/content/zotero/xpcom/users.js @@ -66,7 +66,7 @@ Zotero.Users = new function () { this.getCurrentUsername = () => _username; this.setCurrentUsername = function (val) { - _userID = val; + _username = val; var sql = "REPLACE INTO settings VALUES ('account', 'username', ?)"; return Zotero.DB.queryAsync(sql, val); };