Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Reinstated "views" element
  • Loading branch information
E-Penguin committed Aug 28, 2014
commit 2c83ce43fb7d3a97ef7c28bc7644ce980bf009c0
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public static final Photo createPhoto(Element photoElement, Element defaultEleme
photo.setMedia(photoElement.getAttribute("media"));
photo.setMediaStatus(photoElement.getAttribute("media_status"));
photo.setPathAlias(photoElement.getAttribute("pathalias"));
photo.setViews(photoElement.getAttribute("views"));

Element peopleElement = (Element) photoElement.getElementsByTagName("people").item(0);
if(peopleElement != null){
Expand Down