Commit fe41fede authored by PrestaEdit's avatar PrestaEdit

//use Tools::strtolower()

parent aa68a8b3
......@@ -1859,7 +1859,7 @@ class ToolsCore
public static function getBrightness($hex)
{
if ($hex == 'transparent')
if (Tools::strtolower($hex) == 'transparent')
return '129';
$hex = str_replace('#', '', $hex);
......
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