Page MenuHomeIn-Portal Phabricator

D245.diff
No OneTemporary

File Metadata

Created
Mon, Jan 6, 1:43 AM

D245.diff

Index: branches/5.2.x/core/admin_templates/config/config_universal.tpl
===================================================================
--- branches/5.2.x/core/admin_templates/config/config_universal.tpl
+++ branches/5.2.x/core/admin_templates/config/config_universal.tpl
@@ -1,6 +1,6 @@
<inp2:m_include t="incs/header"/>
-<inp2:conf_InitList name="Default" per_page="-1"/>
+<inp2:conf_InitList per_page="-1"/>
<inp2:m_Get name="section" no_html_escape="1" result_to_var="section"/>
<inp2:m_RenderElement name="combined_header" prefix="conf" section="$section" title_preset="section_label" perm_event="conf:OnLoad"/>
Index: branches/5.2.x/core/kernel/db/db_tag_processor.php
===================================================================
--- branches/5.2.x/core/kernel/db/db_tag_processor.php
+++ branches/5.2.x/core/kernel/db/db_tag_processor.php
@@ -346,7 +346,8 @@
*/
function &GetList($params)
{
- $list_name = $this->SelectParam($params, 'list_name,name');
+ $list_name = array_key_exists('list_name', $params) ? $params['list_name'] : '';
+
if ( !$list_name ) {
$list_name = $this->Application->Parser->GetParam('list_name');
}
Index: branches/5.2.x/core/units/visits/visits_tag_processor.php
===================================================================
--- branches/5.2.x/core/units/visits/visits_tag_processor.php
+++ branches/5.2.x/core/units/visits/visits_tag_processor.php
@@ -163,7 +163,8 @@
*/
function &GetList($params)
{
- $list_name = $this->SelectParam($params, 'list_name,name');
+ $list_name = array_key_exists('list_name', $params) ? $params['list_name'] : '';
+
if ( !$list_name ) {
$list_name = $this->Application->Parser->GetParam('list_name');
}

Event Timeline