mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
changing log level from ERROR to LOG
This commit is contained in:
parent
e483e910fe
commit
dc83689553
|
@ -354,7 +354,7 @@ class Helper
|
||||||
|
|
||||||
if ($index >= $total_colors) {
|
if ($index >= $total_colors) {
|
||||||
|
|
||||||
\Log::error('Status label count is '.$index.' and exceeds the allowed count of 266.');
|
\Log::log('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)
|
//patch fix for array key overflow (color count starts at 1, array starts at 0)
|
||||||
$index = $index - $total_colors - 1;
|
$index = $index - $total_colors - 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue