mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
Show Brand as ERPNext if brand not specified
This commit is contained in:
@@ -119,7 +119,7 @@ def get_outer_env():
|
|||||||
where parent='Website Settings' and parentfield='footer_items'
|
where parent='Website Settings' and parentfield='footer_items'
|
||||||
order by idx asc""", as_dict=1),
|
order by idx asc""", as_dict=1),
|
||||||
|
|
||||||
'brand': webnotes.conn.get_value('Website Settings', None, 'brand_html'),
|
'brand': webnotes.conn.get_value('Website Settings', None, 'brand_html') or 'ERPNext',
|
||||||
'copyright': webnotes.conn.get_value('Website Settings', None, 'copyright'),
|
'copyright': webnotes.conn.get_value('Website Settings', None, 'copyright'),
|
||||||
'favicon': webnotes.conn.get_value('Website Settings', None, 'favicon')
|
'favicon': webnotes.conn.get_value('Website Settings', None, 'favicon')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user