mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
typo in error log message
This commit is contained in:
parent
2051ac785d
commit
4382adce85
|
@ -350,7 +350,7 @@ class Helper
|
|||
|
||||
if ($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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue