Compare commits
2 Commits
df5dc3067a
...
496a0fe80e
| Author | SHA1 | Date | |
|---|---|---|---|
| 496a0fe80e | |||
|
|
776d1664ce |
@@ -197,7 +197,7 @@ public $records = [];
|
||||
|
||||
$characteristic = ProductCharacteristicsMaster::find($characteristicId);
|
||||
|
||||
if (! $characteristic || ! is_numeric($value)){
|
||||
if (! $characteristic || ! is_numeric($value) || ($value < $characteristic->lower || $value > $characteristic->upper)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user