Skip to content

Commit

Permalink
Fix CMSEditableObject context generation
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Jan 23, 2016
1 parent b4eee45 commit f9a8b38
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cms/templatetags/cms_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,6 @@ def _get_empty_context(self, context, instance, edit_fields, language,
extra_context['edit_fields'] = edit_fields.strip().split(",")
# If the toolbar is not enabled the following part is just skipped: it
# would cause a perfomance hit for no reason
extra_context.update(context)
if self._is_editable(context.get('request', None)):
extra_context.update(self._get_editable_context(
extra_context, instance, language, edit_fields, view_method,
Expand Down

0 comments on commit f9a8b38

Please sign in to comment.