1
0
mirror of synced 2024-12-13 06:46:03 +03:00

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)

This commit is contained in:
guilhermeblanco 2008-01-17 20:17:44 +00:00
parent 85846c39bd
commit ef4798921b

View File

@ -88,7 +88,7 @@ class Doctrine_Pager_Layout
$this->_setUrlMask($urlMask);
$this->setTemplate('[<a href="{%url}">{%page}</a>]');
$this->setSelectedTemplate('[{%page}]');
$this->setSelectedTemplate('');
$this->setSeparatorTemplate('');
}