fix: Document Page
This commit is contained in:
parent
ce3771ab74
commit
c6cc70e7df
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ class DocumentPage(BaseTemplatePage):
|
|||
if meta.is_published_field:
|
||||
condition_field = meta.is_published_field
|
||||
elif not meta.custom:
|
||||
controller = get_controller(meta.doctype)
|
||||
controller = get_controller(meta.name)
|
||||
condition_field = controller.website.condition_field
|
||||
|
||||
return condition_field
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue