Fixed: notices on order view page after order stauts is deleted

This commit is contained in:
vishalsingh.qlo325
2025-06-03 19:28:52 +05:30
parent 5d1258f607
commit 0db3b0731a
2 changed files with 4 additions and 4 deletions

View File

@@ -2151,7 +2151,7 @@ class ToolsCore
public static function getBrightness($hex)
{
if (Tools::strtolower($hex) == 'transparent') {
if (Tools::strtolower($hex) == 'transparent' || empty($hex)) {
return '129';
}