--- ZSQLExtend/ZSQLExtend.py 2006/10/05 09:37:38 1.95 +++ ZSQLExtend/ZSQLExtend.py 2006/11/07 11:15:04 1.96 @@ -946,7 +946,10 @@ class ZSQLExtendFolder(Folder,Persistent #elif (not (name[0]=="-" or name[0]=="_")) and (not len(value)==0): elif (not (name[0]=="-" or name[0]=="_")): - changeList.append("\""+name+"\"="+sql_quote(urllib.unquote(value))) + if value=="": + changeList.append("\""+name+"\"=null") + else: + changeList.append("\""+name+"\"="+sql_quote(urllib.unquote(value))) changeString=string.join(changeList,",")