Commit ef479892 authored by guilhermeblanco's avatar guilhermeblanco

Removed initial definition of setSelectedTemplate in Doctrine_Pager_layout in...

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)
parent 85846c39
......@@ -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('');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment