mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 04:28:27 +00:00
[website] [fix] fixes in support ticket and profile pages, when using guest user login
This commit is contained in:
@@ -86,7 +86,7 @@ def get_tickets():
|
||||
webnotes.session.user, as_dict=1)
|
||||
return tickets
|
||||
|
||||
def get_website_args():
|
||||
def get_website_args():
|
||||
bean = webnotes.bean("Support Ticket", webnotes.form_dict.name)
|
||||
if bean.doc.raised_by != webnotes.session.user:
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user