Skip to content

Commit 506ea6c

Browse files
committed
Hopefully fix issue2550929
(Edit error on message_type when no content is given)
1 parent 21dc74a commit 506ea6c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

roundup/cgi/form_parser.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,8 @@ def parse(self, create=0, num_re=re.compile('^\d+$')):
597597
# Avoid emptying the file
598598
if props.has_key('content') and not props['content']:
599599
del props ['content']
600+
if id is not None and id.startswith('-'):
601+
del all_props[(cn, id)]
600602
return all_props, all_links
601603

602604
def parse_file(self, fpropdef, fprops, v):

0 commit comments

Comments
 (0)