Skip to content

Commit cee2a43

Browse files
author
Richard Jones
committed
fix saving of queries [SF#1436169]
1 parent 2589bd5 commit cee2a43

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Fixed:
1717
- fix blank-title subject line handling (sf bug 1442121)
1818
- fix "All users may only view and edit issues, files and messages they
1919
create" example in docs (sf bug 1439086)
20-
20+
- fix saving of queries (sf bug 1436169)
2121

2222

2323
2006-02-10 1.1.0

roundup/cgi/actions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#$Id: actions.py,v 1.58 2006-02-08 04:03:54 richard Exp $
1+
#$Id: actions.py,v 1.59 2006-03-02 23:51:08 richard Exp $
22

33
import re, cgi, StringIO, urllib, Cookie, time, random, csv, codecs
44

@@ -192,7 +192,7 @@ def handle(self):
192192
qids = self.db.query.filter(None, {'name': old_queryname,
193193
'creator': uid})
194194

195-
if qids:
195+
if qids and old_queryname:
196196
# edit query - make sure we get an exact match on the name
197197
for qid in qids:
198198
if old_queryname != self.db.query.get(qid, 'name'):

0 commit comments

Comments
 (0)