www

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

commit 417dc32548ff2f59e2c12aefcd95d6b05d1f3245
parent 49f655726cd561952195bff1d71db8d13f90e5b5
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed,  9 Jul 2008 15:57:33 +0000

Fix "str is null" sync error with empty search condition values


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

diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js @@ -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; }