Fix nullPoint StatoArtInventarioDto

This commit is contained in:
Marco Elefante 2024-04-19 13:18:46 +02:00
parent 53fe1db488
commit 5cf275e43c

View File

@ -151,7 +151,7 @@ public class StatoArtInventarioDTO {
}
public Integer getPedMag() {
if (pedMag < 0)
if (pedMag == null || pedMag < 0)
return 0;
else
return pedMag;