Skip to content

Commit

Permalink
Merge pull request #12 from vlad-ghita/patch-2
Browse files Browse the repository at this point in the history
Add unique attribute for Section Schema DSs.
  • Loading branch information
nickdunn committed Mar 19, 2013
2 parents 842bf7f + 2c0ae0d commit bbc47b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data-sources/datasource.section_schema.php
Expand Up @@ -126,6 +126,8 @@ public static function prepare(array $settings, array $params, $template) {
public function grab(array &$param_pool=NULL) {
$result = new XMLElement($this->dsParamROOTELEMENT);

$result->setAttribute('type','section-schema');

// retrieve this section
$section_id = SectionManager::fetchIDFromHandle($this->dsParamSECTION);
$section = SectionManager::fetch($section_id);
Expand Down

0 comments on commit bbc47b6

Please sign in to comment.