fix to blog and wnf backup does not backup files

This commit is contained in:
Rushabh Mehta
2013-03-08 11:56:52 +05:30
parent 981db7b561
commit 177226616a
3 changed files with 4 additions and 3 deletions

View File

@@ -13,6 +13,6 @@ class DocType:
for blog in webnotes.conn.sql_list("""select name from tabBlog where owner=%s
and ifnull(blogger,'')=''""", self.doc.profile):
b = webnotes.bean("Blog", blog)
b.blogger = self.doc.name
b.doc.blogger = self.doc.name
b.save()