SF Bug #3452416 - templates <order> non-functional

This commit is contained in:
Deon George 2012-09-05 20:23:17 +10:00
parent caf24e3662
commit 6b9834a054

View File

@ -98,8 +98,9 @@ class PageRender extends Visitor {
$this->visit('',$attribute);
}
// Sort our attribute values for display.
$this->template->sort();
// Sort our attribute values for display, if we are the custom template.
if ($this->template->getID() == 'none')
$this->template->sort();
}
}