Skip to content

Commit

Permalink
Merge 54d1375 into 75c3958
Browse files Browse the repository at this point in the history
  • Loading branch information
petrklus committed Dec 9, 2019
2 parents 75c3958 + 54d1375 commit 2015388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/cms_toolbars.py
Expand Up @@ -291,7 +291,7 @@ def has_publish_permission(self):
else:
publish_permission = False

if publish_permission and self.statics:
if self.statics:
publish_permission = all(sp.has_publish_permission(self.request) for sp in self.dirty_statics)
return publish_permission

Expand Down

0 comments on commit 2015388

Please sign in to comment.