Skip to content

Commit

Permalink
Fixes #1088 - Check if flatpages.first is set (#1287)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonespm committed Jul 8, 2021
1 parent d95ab1d commit 7eff037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/templates/base.html
Expand Up @@ -44,7 +44,7 @@
{% get_flatpages '/copyright/' as flatpages %}
<table cellspacing="8" style="width: 100%; padding: 8px">
<tr>
{% if flatpages.first.content %}
{% if flatpages.first and flatpages.first.content %}
<td style="text-align: left">
{{ flatpages.first.content|safe }}
</td>
Expand Down

0 comments on commit 7eff037

Please sign in to comment.