liliang4869 7 anni fa
parent
commit
115fcfe262
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/main/java/com/goafanti/demand/bo/DemandListBo.java

+ 1 - 1
src/main/java/com/goafanti/demand/bo/DemandListBo.java

@@ -146,7 +146,7 @@ public class DemandListBo extends InputDemand{
 	public void setPictureUrl(String pictureUrl) {
 		// TODO Auto-generated method stub
 		super.setPictureUrl(pictureUrl);
-		if(pictureUrl!=null) {
+		if(pictureUrl!=null && pictureUrl.contains(".")) {
 			setFirstPic(pictureUrl.split(",")[0]);
 		}
 	}