зеркало из https://github.com/mozilla/snowl.git
don't die if a new identity doesn't have home or icon URLs
This commit is contained in:
Родитель
16ddb9ee0b
Коммит
eb474f5c21
|
@ -51,8 +51,8 @@ SnowlIdentity.create = function(sourceID, externalID, name, homeURL, iconURL) {
|
|||
|
||||
try {
|
||||
personStatement.params.name = name;
|
||||
personStatement.params.homeURL = homeURL;
|
||||
personStatement.params.iconURL = iconURL;
|
||||
personStatement.params.homeURL = homeURL || null;
|
||||
personStatement.params.iconURL = iconURL || null;
|
||||
personStatement.step();
|
||||
let personID = SnowlDatastore.dbConnection.lastInsertRowID;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче