web/views/basecomponents.py
branchstable
changeset 2119 dc1eedd06766
parent 1977 606923dff11b
child 2120 ed1cd652b343
--- a/web/views/basecomponents.py	Fri Jun 19 08:23:45 2009 +0200
+++ b/web/views/basecomponents.py	Fri Jun 19 08:27:41 2009 +0200
@@ -148,8 +148,10 @@
     site_wide = True
 
     def call(self):
-        self.w(u'<span id="appliName"><a href="%s">%s</a></span>' % (
-            self.req.base_url(), self.req.property_value('ui.site-title')))
+        title = self.req.property_value('ui.site-title')
+        if title:
+            self.w(u'<span id="appliName"><a href="%s">%s</a></span>' % (
+                self.req.base_url(), title))
 
 
 class SeeAlsoVComponent(component.RelatedObjectsVComponent):