Skip to content

Commit

Permalink
Fix traceback: add may in _do_modify_show_templates
Browse files Browse the repository at this point in the history
  • Loading branch information
UlrichB22 committed Oct 17, 2024
1 parent a67b8d2 commit 00391d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/moin/items/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1419,6 +1419,7 @@ def _do_modify_show_templates(self):
itemtype=self.itemtype,
contenttype=self.contenttype,
template="",
may=None,
)
)
return render_template(
Expand All @@ -1434,6 +1435,7 @@ def _do_modify_show_templates(self):
last_rev_id=rev_ids and rev_ids[-1],
meta_rendered="",
data_rendered="",
may=None,
)

def do_show(self, revid, item_is_deleted=False, item_may=None):
Expand Down

0 comments on commit 00391d3

Please sign in to comment.