app/soc/views/helper/responses.py
changeset 1457 9fd31955cc49
parent 1454 37eb949c3267
child 1502 2fee94feef59
--- a/app/soc/views/helper/responses.py	Sun Feb 22 10:54:28 2009 +0000
+++ b/app/soc/views/helper/responses.py	Sun Feb 22 10:55:24 2009 +0000
@@ -133,9 +133,9 @@
 
   settings = site.logic.getSingleton()
 
-  if settings:
-    context['ga_tracking_num'] = settings.ga_tracking_num
-    context['gmaps_api_key'] = settings.gmaps_api_key
+  context['ga_tracking_num'] = settings.ga_tracking_num
+  context['gmaps_api_key'] = settings.gmaps_api_key
+  context['site_name'] = settings.site_name
   context['tos_link'] = redirects.getToSRedirect(settings)
  
   return context