Skip to content

Commit

Permalink
//use Tools::strtolower()
Browse files Browse the repository at this point in the history
  • Loading branch information
PrestaEdit committed Jan 21, 2015
1 parent aa68a8b commit fe41fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -1859,7 +1859,7 @@ public static function toUnderscoreCase($string)

public static function getBrightness($hex)
{
if ($hex == 'transparent')
if (Tools::strtolower($hex) == 'transparent')
return '129';

$hex = str_replace('#', '', $hex);
Expand Down

0 comments on commit fe41fed

Please sign in to comment.