Skip to content

Commit

Permalink
Merge pull request #238 from miguelpayet/master
Browse files Browse the repository at this point in the history
Add creation date attribute to subsection items
  • Loading branch information
Nils Hörrmann committed Jul 30, 2013
2 parents d486c58 + 822ec60 commit 10b9d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fields/field.subsectionmanager.php
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ public function appendFormattedElement(&$wrapper, $data, $encode = false, $mode
}

// Create item
$item = new XMLElement('item', null, array('id' => $entry_id));
$item = new XMLElement('item', null, array('id' => $entry_id, 'creation-date' => $entry->creationDate));
$subsection->appendChild($item);

// Process entry for Data Source
Expand Down

0 comments on commit 10b9d89

Please sign in to comment.