summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-01-11 12:33:09 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-01-11 12:33:09 +0000
commite78d7eb2359d46cb458af534082198d39e2d3f4c (patch)
tree72c56024d86f730c11d955ec928204f013e0fcd6 /modules
parent3395c97e373bd0aef6558d01161353670598a5d6 (diff)
downloadbrdo-e78d7eb2359d46cb458af534082198d39e2d3f4c.tar.gz
brdo-e78d7eb2359d46cb458af534082198d39e2d3f4c.tar.bz2
#208427 report by Pancho, patch by dvessel: strpos() parameters were flipped in color module, resulting in bad colors
Diffstat (limited to 'modules')
-rw-r--r--modules/color/color.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/color/color.module b/modules/color/color.module
index bdbdad550..9bb7fc069 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);
}