This commit is contained in:
2016-09-15 07:04:50 -04:00
committed by GitHub
parent 0bc935d3dd
commit f9f77fdcb1

View File

@@ -14,6 +14,6 @@ class HeaderFooterHookListener < Redmine::Hook::ViewListener
end
def view_layouts_base_body_bottom(context = {})
return "<div id='qbo_footer' align='center'><b>Last Sync: </b> #{Qbo.last_sync}</div>"
return "<div id='qbo_footer' align='center'><b>Last Sync: </b> #{Qbo.last_sync if Qbo.exists?}</div>"
end
end