This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Contact image is replaced by gravatar only if no image attached
version-14
Nabin Hait
8 years ago
parent
3e0cfbae79
commit
df1347d5f1
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/email/doctype/contact/contact.py
+ 1
- 1
frappe/email/doctype/contact/contact.py
View File
@@ -21,7 +21,7 @@ class Contact(Document):
def validate(self):
self.set_user()
if self.email_id:
if self.email_id
and not self.image
:
self.image = has_gravatar(self.email_id)
deduplicate_dynamic_links(self)
Write
Preview
Loading…
Cancel
Save