From 59966513ad4eb2dc7188b1d916fce4638b59c6df Mon Sep 17 00:00:00 2001
From: solotandem <jim@boombatower.com>
Date: Thu, 27 Feb 2014 19:55:36 +0000
Subject: [PATCH] Issue #2206989: Return false if the status condition is not
 enabled.

---
 google_tag.module |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/google_tag.module b/google_tag.module
index b5b9c6b..4ff8a3c 100644
--- a/google_tag.module
+++ b/google_tag.module
@@ -113,7 +113,7 @@ function _google_tag_status_check() {
     $statuses = variable_get('google_tag_status_list', GOOGLETAGMANAGER_STATUSES);
 
     if (!$toggle) {
-      $satisfied = !$toggle;
+      $satisfied = $toggle;
     }
     else {
       // Get the HTTP response status.
-- 
1.7.10.4

