Skip to content

Commit

Permalink
FIX: empty categories resulting in "500 Internal Server Error"
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Schmidt committed Mar 16, 2018
1 parent 31e0e7b commit bbd39d7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Resources/Private/Partials/PostList.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@

<td>{post.parent.properties.title}</td>

<td><f:if condition="{post.properties.categories.name}">{post.properties.categories.name}</f:if></td>
<td>
<f:if condition="{post.properties.categories}">
<f:if condition="{post.properties.categories.name}">
{post.properties.categories.name}
</f:if>
</f:if>
</td>

<td>{post.workspace.name}</td>

Expand Down

0 comments on commit bbd39d7

Please sign in to comment.