Fix nullPoint StatoArtInventarioDto
This commit is contained in:
parent
53fe1db488
commit
5cf275e43c
@ -151,7 +151,7 @@ public class StatoArtInventarioDTO {
|
||||
}
|
||||
|
||||
public Integer getPedMag() {
|
||||
if (pedMag < 0)
|
||||
if (pedMag == null || pedMag < 0)
|
||||
return 0;
|
||||
else
|
||||
return pedMag;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user