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:
parent
85846c39bd
commit
ef4798921b
@ -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('');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user