From 7dd0ee98b830cef2b3190db1c08de681ea1920ff Mon Sep 17 00:00:00 2001
From: git <git@1163990.no-reply.drupal.org>
Date: Wed, 8 Aug 2012 11:10:45 +0200
Subject: [PATCH] Issue #1718924 by cam8001 | romaingar: Fixed JS settings
 cache comparision.

---
 plugins/views_plugin_cache.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/views_plugin_cache.inc b/plugins/views_plugin_cache.inc
index 0c7063bf1d77..b5a227ba2b9c 100644
--- a/plugins/views_plugin_cache.inc
+++ b/plugins/views_plugin_cache.inc
@@ -249,7 +249,7 @@ function restore_headers() {
     }
     if (!empty($this->storage['js'])) {
       foreach ($this->storage['js'] as $key => $args) {
-        if ($key != 'settings') {
+        if ($key !== 'settings') {
           drupal_add_js($args['data'], $args);
         }
         else {
-- 
GitLab