[bug] [minor] fix #790
This commit is contained in:
parent
dd71a02ec7
commit
fdaf5fd087
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user