From ef4798921b6e171276d33fc9b04cfc7c58ae4399 Mon Sep 17 00:00:00 2001 From: guilhermeblanco Date: Thu, 17 Jan 2008 20:17:44 +0000 Subject: [PATCH] Removed initial definition of setSelectedTemplate in Doctrine_Pager_layout in all branches. If no selected template is defined, the default assigned template is used. This prevent possible issue where the user defines default but not selected template (will use the defined one in class, what is wrong) --- lib/Doctrine/Pager/Layout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Pager/Layout.php b/lib/Doctrine/Pager/Layout.php index 5a26a3a02..cd3dd505b 100644 --- a/lib/Doctrine/Pager/Layout.php +++ b/lib/Doctrine/Pager/Layout.php @@ -88,7 +88,7 @@ class Doctrine_Pager_Layout $this->_setUrlMask($urlMask); $this->setTemplate('[{%page}]'); - $this->setSelectedTemplate('[{%page}]'); + $this->setSelectedTemplate(''); $this->setSeparatorTemplate(''); }