From e5d6887b65a71a0cef8d73382409660ff9617a20 Mon Sep 17 00:00:00 2001 From: Gaetan Delannay Date: Mon, 29 Apr 2013 21:37:55 +0200 Subject: [PATCH] [gen] Bugfix. --- gen/mixins/ToolMixin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/mixins/ToolMixin.py b/gen/mixins/ToolMixin.py index a401871..bbd3114 100644 --- a/gen/mixins/ToolMixin.py +++ b/gen/mixins/ToolMixin.py @@ -1231,7 +1231,7 @@ class ToolMixin(BaseMixin): if self.isDebug(): return # Disable Google Analytics if no ID is found in the config. gaId = self.getProductConfig().googleAnalyticsId - if not gaid: return + if not gaId: return # Google Analytics must be enabled: return the chunk of Javascript # code specified by Google. code = "var _gaq = _gaq || [];\n" \