[gen] Bugfix.

This commit is contained in:
Gaetan Delannay 2013-04-29 21:37:55 +02:00
parent a94d400d03
commit e5d6887b65

View file

@ -1231,7 +1231,7 @@ class ToolMixin(BaseMixin):
if self.isDebug(): return if self.isDebug(): return
# Disable Google Analytics if no ID is found in the config. # Disable Google Analytics if no ID is found in the config.
gaId = self.getProductConfig().googleAnalyticsId gaId = self.getProductConfig().googleAnalyticsId
if not gaid: return if not gaId: return
# Google Analytics must be enabled: return the chunk of Javascript # Google Analytics must be enabled: return the chunk of Javascript
# code specified by Google. # code specified by Google.
code = "var _gaq = _gaq || [];\n" \ code = "var _gaq = _gaq || [];\n" \