Fix "str is null" sync error with empty search condition values
This commit is contained in:
parent
49f655726c
commit
417dc32548
1 changed files with 2 additions and 1 deletions
|
@ -2143,7 +2143,8 @@ Zotero.Sync.Server.Data = new function() {
|
|||
conditionXML.@mode = condition.mode;
|
||||
}
|
||||
conditionXML.@operator = condition.operator;
|
||||
conditionXML.@value = _xmlize(condition.value);
|
||||
conditionXML.@value =
|
||||
_xmlize(condition.value ? condition.value : '');
|
||||
if (condition.required) {
|
||||
conditionXML.@required = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue