From 6b9834a054371066424d3909627e73857df33d34 Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 5 Sep 2012 20:23:17 +1000 Subject: [PATCH] SF Bug #3452416 - templates non-functional --- lib/PageRender.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/PageRender.php b/lib/PageRender.php index ad5d454..7d86a54 100644 --- a/lib/PageRender.php +++ b/lib/PageRender.php @@ -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(); } }