diff --git a/src/Hydra/root/layout.tt b/src/Hydra/root/layout.tt index 0bc40496..a46e7f45 100644 --- a/src/Hydra/root/layout.tt +++ b/src/Hydra/root/layout.tt @@ -103,7 +103,7 @@ [% INCLUDE makeLink uri = c.uri_for('/project' project.name 'all') title = "All builds" %] [% INCLUDE makeLink uri = c.uri_for('/releasesets' project.name) title = "Releases" %] - [% IF project.releasesets.size > 0 %] + [% IF project.releasesets && project.releasesets.size > 0 %]