[bug] [minor] fix #790

This commit is contained in:
Rushabh Mehta 2013-09-04 14:42:38 +05:30
parent dd71a02ec7
commit fdaf5fd087

View File

@ -88,4 +88,5 @@ def update_feed(controller, method=None):
if method in ['on_update', 'on_submit']:
subject, color = feed_dict.get(doc.doctype, [None, None])
if subject:
make_feed('', doc.doctype, doc.name, doc.owner, subject % doc.fields, color)
from webnotes.utils import encode_dict
make_feed('', doc.doctype, doc.name, doc.owner, subject % encode_dict(doc.fields.copy()), color)