Commit d758cfcb authored by NickDickinsonWilde's avatar NickDickinsonWilde

fix overzealous replace of strtolower with strtoupper

parent 241ff164
......@@ -227,11 +227,11 @@ class ColorFieldType extends FieldItemBase {
switch ($format) {
case '#HEXHEX':
$color = '#' . strtolower($color);
$color = '#' . strtoupper($color);
break;
case 'HEXHEX':
$color = strtolower($color);
$color = strtoupper($color);
break;
case '#hexhex':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment