support ticket fix

This commit is contained in:
Rushabh Mehta
2012-12-28 13:26:08 +05:30
parent d2744e7461
commit 056d1723e7
2 changed files with 1 additions and 5 deletions

View File

@@ -87,5 +87,5 @@ def update_feed(controller, method=None):
doc = controller.doc
if method in ['on_update', 'on_submit']:
subject, color = feed_dict.get(doc.doctype, [None, None])
if subject:
if subject:
make_feed('', doc.doctype, doc.name, doc.owner, subject % doc.fields, color)