diff --git a/app/views/static/_footer.html.erb b/app/views/static/_footer.html.erb index 2c733bbad..e9a91bb27 100644 --- a/app/views/static/_footer.html.erb +++ b/app/views/static/_footer.html.erb @@ -5,7 +5,7 @@ / <% if Danbooru.config.source_code_url.present? %> - <%= link_to Danbooru.config.source_code_url, title: "Running commit: #{Rails.application.config.x.git_hash.first(9)}", class: "social-icon" do %> + <%= link_to Danbooru.config.source_code_url, title: "Running commit: #{Rails.application.config.x.git_hash&.first(9)}", class: "social-icon" do %> <% end %> <% end %>