使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
anoopmb
/
frappe
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
Contact image is replaced by gravatar only if no image attached
version-14
Nabin Hait
8 年前
父节点
3e0cfbae79
当前提交
df1347d5f1
共有
1 个文件被更改
,包括
1 次插入
和
1 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+1
-1
frappe/email/doctype/contact/contact.py
+ 1
- 1
frappe/email/doctype/contact/contact.py
查看文件
@@ -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)
撰写
预览
正在加载...
取消
保存