Commit 9148cd03 authored by Noel Alonso's avatar Noel Alonso
Browse files

Controla posibles valores nulos de name

parent bb623362
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ public class CategoryDTO extends CommonDTO {
	public void put(int field, Object value) {
		switch (field) {
		case 0:
			setName(value.toString());
			setName(value != null ? value.toString() : null);
			break;
		case 1:
			setId(value.toString());