# HG changeset patch # User Chris Cannam # Date 1358940309 0 # Node ID fc5d582a25f94a627aa7f0c92ccb5da3232ffefc # Parent bae194c522966e936d52e647397c89ac551c3f87 Fix internal error on homepage! diff -r bae194c52296 -r fc5d582a25f9 app/views/layouts/base.html.erb --- a/app/views/layouts/base.html.erb Wed Jan 23 11:10:20 2013 +0000 +++ b/app/views/layouts/base.html.erb Wed Jan 23 11:25:09 2013 +0000 @@ -64,7 +64,7 @@ <% unless page_header_title[1].empty? %> style="margin-top: 0px; " <% end %> - <% if @project.name.length > 35 %> + <% if !@project.nil? and @project.name.length > 35 %> class="long-title" <% end %> ><% if display_main_menu?(@project) %>