mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
possibilitieeeeeeeeessss
This commit is contained in:
parent
495521b70e
commit
9cc89911f7
|
@ -354,6 +354,9 @@ class Helper
|
||||||
if($index < 0) {
|
if($index < 0) {
|
||||||
$index = 0;
|
$index = 0;
|
||||||
}
|
}
|
||||||
|
elseif($index > 255) {
|
||||||
|
$index = 255;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $colors[$index];
|
return $colors[$index];
|
||||||
|
|
Loading…
Reference in a new issue