A free open source IT asset/license management system
typo in error log message
akemidx4382adce8535
diff --git a/app/Helpers/Helper.php b/app/Helpers/Helper.phpindex 3c5a0e9f11..6039457637 100644--- a/app/Helpers/Helper.php+++ b/app/Helpers/Helper.php@@ -350,7 +350,7 @@ class Helperif ($index >= $total_colors) {- \Log::error('Status label count is '.$index.' and exceeds the allowed count of 256.');+ \Log::error('Status label count is '.$index.' and exceeds the allowed count of 266.');//patch fix for array key overflow (color count starts at 1, array starts at 0)$index = $index - $total_colors - 1;diff --git a/tests/Feature/DefaultColorKeyTest.php b/tests/Feature/DefaultColorKeyTest.phpindex fdabd0db14..3fab03b7f6 100644--- a/tests/Feature/DefaultColorKeyTest.php+++ b/tests/Feature/DefaultColorKeyTest.php@@ -2,8 +2,8 @@namespace Tests\Feature;-use Tests\TestCase;use App\Models\Statuslabel;+use Tests\TestCase;use App\Models\Asset;class DefaultColorKeyTest extends TestCase