Skip to content
Snippets Groups Projects
Commit e78d7eb2 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#208427 report by Pancho, patch by dvessel: strpos() parameters were flipped...

#208427 report by Pancho, patch by dvessel: strpos() parameters were flipped in color module, resulting in bad colors
parent 3395c97e
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment