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

Add a check for empty url strings

SVN: 27650
parent 85bc2f61
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,7 @@
self.summaryLabel.text = self.detailItem.summary;
self.identifierLabel.text = self.detailItem.identifier;
if (!self.detailItem.imageUrlString) {
if (!self.detailItem.imageUrlString || [self.detailItem.imageUrlString length] == 0) {
[self.webView loadHTMLString: @"<html><head></head><body></body></html>" baseURL: nil];
self.webView.hidden = YES;
self.webView.scrollView.hidden = YES;
......
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