Skip to content
Snippets Groups Projects
Commit c2e1bd30 authored by cramakri's avatar cramakri
Browse files

BIS-159 SP-395 : Handle empty string for images.

SVN: 27846
parent 37452ada
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,7 @@ id ObjectFromJsonData(NSString *jsonDataString, NSError **error)
if (rawEntity.children) self.childrenPermIdsJson = rawEntity.children;
if (rawEntity.identifier) self.identifier = rawEntity.identifier;
if (rawEntity.imageUrl) self.imageUrlString = rawEntity.imageUrl;
if (rawEntity.images) {
if (rawEntity.images && [rawEntity.images length] > 0) {
NSError *error;
NSDictionary *imageSpecs = ObjectFromJsonData(rawEntity.images, &error);
if (!imageSpecs) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment