From dcacf2c7906be11e08727f0e0588ff3d714b4646 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 6 Feb 2009 21:00:58 +0000 Subject: [PATCH] * Get rid of a warning. --- src/Hydra/root/layout.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %]