Page MenuHomeIn-Portal Phabricator

D223.diff
No OneTemporary

File Metadata

Created
Fri, Jun 13, 6:05 PM

D223.diff

Index: core/admin_templates/config/config_universal.tpl
===================================================================
--- core/admin_templates/config/config_universal.tpl
+++ 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: core/kernel/db/db_tag_processor.php
===================================================================
--- core/kernel/db/db_tag_processor.php
+++ core/kernel/db/db_tag_processor.php
@@ -350,8 +350,10 @@
*/
function &GetList($params)
{
- $list_name = $this->SelectParam($params, 'list_name,name');
- if ( !$list_name ) {
+ if ( array_key_exists('list_name', $params) && $params['list_name'] ) {
+ $list_name = $params['list_name'];
+ }
+ else {
$list_name = $this->Application->Parser->GetParam('list_name');
}

Event Timeline