From e78d7eb2359d46cb458af534082198d39e2d3f4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= <gabor@hojtsy.hu>
Date: Fri, 11 Jan 2008 12:33:09 +0000
Subject: [PATCH] #208427 report by Pancho, patch by dvessel: strpos()
 parameters were flipped in color module, resulting in bad colors

---
 modules/color/color.module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/color/color.module b/modules/color/color.module
index bdbdad550b28..9bb7fc069dca 100644
--- a/modules/color/color.module
+++ b/modules/color/color.module
@@ -377,7 +377,7 @@ function _color_rewrite_stylesheet($theme, &$info, &$paths, $palette, $style) {
 
   // Split off the "Don't touch" section of the stylesheet.
   $split = "Color Module: Don't touch";
-  if (strpos($split, $style) !== FALSE) {
+  if (strpos($style, $split) !== FALSE) {
     list($style, $fixed) = explode($split, $style);
   }
 
-- 
GitLab