Commit 67323a73 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_corporate_identity: get correct logo

parent 3098d97d
...@@ -18,8 +18,9 @@ if sender_company: ...@@ -18,8 +18,9 @@ if sender_company:
if sender: if sender:
return source.get("contributor_title_string", "") return source.get("contributor_title_string", "")
if logo: if logo:
url = source.get('enhanced_logo_url', '') url = theme_used.get('theme_logo_url', '')
return url.split('?')[0] return url.split('?')[0]
if leaflet_header: if leaflet_header:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment