This commit is contained in:
ricky authored and GitHub committed 2016-09-15 07:04:50 -04:00
1 parent 0bc935d3dd
commit f9f77fdcb1
1 file changed
+1 -1
+1 -1
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