Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1026022
D223.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jun 13, 6:05 PM
Size
1 KB
Mime Type
text/x-diff
Expires
Sat, Jun 14, 6:05 PM (4 h, 27 m)
Engine
blob
Format
Raw Data
Handle
661670
Attached To
D223: INP-1447 Remove usage of 'name' parameter in "kDBTagProcessor::GetList" method
D223.diff
View Options
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
Log In to Comment