|
@@ -248,6 +248,7 @@ public class WarningServiceImpl implements WarningService {
|
|
|
String[] s = String.valueOf(map.get("photoUrls")).split(",");
|
|
|
Collections.addAll(photoUrls, s);
|
|
|
if (photoUrls.size() > count) {
|
|
|
+ count = count == 0 ? photoUrls.size() : count;
|
|
|
photoUrls = photoUrls.subList(0, count);
|
|
|
}
|
|
|
}
|