diff --git a/administrator/components/com_associations/src/View/Association/HtmlView.php b/administrator/components/com_associations/src/View/Association/HtmlView.php index 9b3e426fc6a05..98b122dcebd86 100644 --- a/administrator/components/com_associations/src/View/Association/HtmlView.php +++ b/administrator/components/com_associations/src/View/Association/HtmlView.php @@ -319,7 +319,7 @@ public function display($tpl = null): void // Add form control fields $this->form - ->addControlField('task', '') + ->addControlField('task') ->addControlField('target-id', '', ['id' => 'target-id']); parent::display($tpl); diff --git a/administrator/components/com_associations/src/View/Associations/HtmlView.php b/administrator/components/com_associations/src/View/Associations/HtmlView.php index 4572f873e5dc4..e2ab6004af122 100644 --- a/administrator/components/com_associations/src/View/Associations/HtmlView.php +++ b/administrator/components/com_associations/src/View/Associations/HtmlView.php @@ -137,7 +137,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', ''); + ->addControlField('task'); if (!Associations::isEnabled()) { $link = Route::_('index.php?option=com_plugins&task=plugin.edit&extension_id=' . AssociationsHelper::getLanguagefilterPluginId()); diff --git a/administrator/components/com_banners/src/View/Banner/HtmlView.php b/administrator/components/com_banners/src/View/Banner/HtmlView.php index 8d746ad885bfc..3626467a25e41 100644 --- a/administrator/components/com_banners/src/View/Banner/HtmlView.php +++ b/administrator/components/com_banners/src/View/Banner/HtmlView.php @@ -84,7 +84,7 @@ public function display($tpl = null): void // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); parent::display($tpl); } diff --git a/administrator/components/com_banners/src/View/Client/HtmlView.php b/administrator/components/com_banners/src/View/Client/HtmlView.php index e0b28273c26eb..7d28092ced147 100644 --- a/administrator/components/com_banners/src/View/Client/HtmlView.php +++ b/administrator/components/com_banners/src/View/Client/HtmlView.php @@ -93,7 +93,7 @@ public function display($tpl = null): void // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); parent::display($tpl); } diff --git a/administrator/components/com_banners/src/View/Clients/HtmlView.php b/administrator/components/com_banners/src/View/Clients/HtmlView.php index 34f4d1d8844d0..da9a763990b2f 100644 --- a/administrator/components/com_banners/src/View/Clients/HtmlView.php +++ b/administrator/components/com_banners/src/View/Clients/HtmlView.php @@ -108,7 +108,7 @@ public function display($tpl = null): void // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); parent::display($tpl); diff --git a/administrator/components/com_banners/src/View/Tracks/HtmlView.php b/administrator/components/com_banners/src/View/Tracks/HtmlView.php index 97a67e3be241b..03d06b869a4ea 100644 --- a/administrator/components/com_banners/src/View/Tracks/HtmlView.php +++ b/administrator/components/com_banners/src/View/Tracks/HtmlView.php @@ -108,7 +108,7 @@ public function display($tpl = null): void // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); parent::display($tpl); diff --git a/administrator/components/com_cache/src/View/Cache/HtmlView.php b/administrator/components/com_cache/src/View/Cache/HtmlView.php index e954548af472e..c70f0f1087af9 100644 --- a/administrator/components/com_cache/src/View/Cache/HtmlView.php +++ b/administrator/components/com_cache/src/View/Cache/HtmlView.php @@ -109,7 +109,7 @@ public function display($tpl = null): void // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); parent::display($tpl); diff --git a/administrator/components/com_categories/src/View/Categories/HtmlView.php b/administrator/components/com_categories/src/View/Categories/HtmlView.php index 961b9f3d181e9..0c6da623efd26 100644 --- a/administrator/components/com_categories/src/View/Categories/HtmlView.php +++ b/administrator/components/com_categories/src/View/Categories/HtmlView.php @@ -156,7 +156,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm ->addControlField('extension', $this->state->get('filter.extension', '')) - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); parent::display($tpl); diff --git a/administrator/components/com_categories/src/View/Category/HtmlView.php b/administrator/components/com_categories/src/View/Category/HtmlView.php index 7e54e36d6af94..f387b6750cf9f 100644 --- a/administrator/components/com_categories/src/View/Category/HtmlView.php +++ b/administrator/components/com_categories/src/View/Category/HtmlView.php @@ -141,7 +141,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', '') + ->addControlField('task') ->addControlField('return', $input->getBase64('return', '')) ->addControlField('forcedLanguage', $forcedLanguage); diff --git a/administrator/components/com_checkin/src/View/Checkin/HtmlView.php b/administrator/components/com_checkin/src/View/Checkin/HtmlView.php index 078be5aa8feff..09fecd0d82e1e 100644 --- a/administrator/components/com_checkin/src/View/Checkin/HtmlView.php +++ b/administrator/components/com_checkin/src/View/Checkin/HtmlView.php @@ -110,7 +110,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); parent::display($tpl); diff --git a/administrator/components/com_config/src/View/Application/HtmlView.php b/administrator/components/com_config/src/View/Application/HtmlView.php index cebecc38b18a8..74a40f3ade163 100644 --- a/administrator/components/com_config/src/View/Application/HtmlView.php +++ b/administrator/components/com_config/src/View/Application/HtmlView.php @@ -127,7 +127,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); parent::display($tpl); } diff --git a/administrator/components/com_config/src/View/Component/HtmlView.php b/administrator/components/com_config/src/View/Component/HtmlView.php index 90c5ffa34351f..ce413d93a57cc 100644 --- a/administrator/components/com_config/src/View/Component/HtmlView.php +++ b/administrator/components/com_config/src/View/Component/HtmlView.php @@ -127,7 +127,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', '') + ->addControlField('task') ->addControlField('id', $this->component->id) ->addControlField('component', $this->component->option) ->addControlField('return', $this->return); diff --git a/administrator/components/com_contact/src/View/Contact/HtmlView.php b/administrator/components/com_contact/src/View/Contact/HtmlView.php index f001c9b2e23ac..7f35d4d27e942 100644 --- a/administrator/components/com_contact/src/View/Contact/HtmlView.php +++ b/administrator/components/com_contact/src/View/Contact/HtmlView.php @@ -94,7 +94,7 @@ protected function initializeView() // Add form control fields $this->form - ->addControlField('task', '') + ->addControlField('task') ->addControlField('forcedLanguage', $forcedLanguage); } diff --git a/administrator/components/com_content/src/View/Article/HtmlView.php b/administrator/components/com_content/src/View/Article/HtmlView.php index 7ad630a259bc9..ce888e406f8aa 100644 --- a/administrator/components/com_content/src/View/Article/HtmlView.php +++ b/administrator/components/com_content/src/View/Article/HtmlView.php @@ -112,7 +112,7 @@ protected function initializeView() // Add form control fields $this->form - ->addControlField('task', '') + ->addControlField('task') ->addControlField('return', $input->getBase64('return', '')) ->addControlField('forcedLanguage', $forcedLanguage); } diff --git a/administrator/components/com_content/src/View/Articles/HtmlView.php b/administrator/components/com_content/src/View/Articles/HtmlView.php index 364feaf4d3e11..528c0fdf1719b 100644 --- a/administrator/components/com_content/src/View/Articles/HtmlView.php +++ b/administrator/components/com_content/src/View/Articles/HtmlView.php @@ -161,7 +161,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); parent::display($tpl); diff --git a/administrator/components/com_fields/src/View/Field/HtmlView.php b/administrator/components/com_fields/src/View/Field/HtmlView.php index 52301cdd89c7b..35e7cb6f2009a 100644 --- a/administrator/components/com_fields/src/View/Field/HtmlView.php +++ b/administrator/components/com_fields/src/View/Field/HtmlView.php @@ -80,7 +80,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); parent::display($tpl); } diff --git a/administrator/components/com_fields/src/View/Fields/HtmlView.php b/administrator/components/com_fields/src/View/Fields/HtmlView.php index 0848bda2d3626..da72c4a2e45e2 100644 --- a/administrator/components/com_fields/src/View/Fields/HtmlView.php +++ b/administrator/components/com_fields/src/View/Fields/HtmlView.php @@ -111,7 +111,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); parent::display($tpl); diff --git a/administrator/components/com_fields/src/View/Group/HtmlView.php b/administrator/components/com_fields/src/View/Group/HtmlView.php index 8e8452ef32fdd..b870e4deed52a 100644 --- a/administrator/components/com_fields/src/View/Group/HtmlView.php +++ b/administrator/components/com_fields/src/View/Group/HtmlView.php @@ -98,7 +98,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); parent::display($tpl); } diff --git a/administrator/components/com_fields/src/View/Groups/HtmlView.php b/administrator/components/com_fields/src/View/Groups/HtmlView.php index d17b992b4a40e..92e6de5b6b02e 100644 --- a/administrator/components/com_fields/src/View/Groups/HtmlView.php +++ b/administrator/components/com_fields/src/View/Groups/HtmlView.php @@ -108,7 +108,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); parent::display($tpl); diff --git a/administrator/components/com_finder/src/View/Filter/HtmlView.php b/administrator/components/com_finder/src/View/Filter/HtmlView.php index 22881548a78cf..08d9458b489cb 100644 --- a/administrator/components/com_finder/src/View/Filter/HtmlView.php +++ b/administrator/components/com_finder/src/View/Filter/HtmlView.php @@ -112,7 +112,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', '') + ->addControlField('task') ->addControlField('return', Factory::getApplication()->getInput()->get('return', '', 'BASE64')); // Configure the toolbar. diff --git a/administrator/components/com_finder/src/View/Filters/HtmlView.php b/administrator/components/com_finder/src/View/Filters/HtmlView.php index d6bd67322c0ee..c1d040b1e334f 100644 --- a/administrator/components/com_finder/src/View/Filters/HtmlView.php +++ b/administrator/components/com_finder/src/View/Filters/HtmlView.php @@ -114,7 +114,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); // Configure the toolbar. diff --git a/administrator/components/com_finder/src/View/Index/HtmlView.php b/administrator/components/com_finder/src/View/Index/HtmlView.php index cb075a499c31b..431da29241a32 100644 --- a/administrator/components/com_finder/src/View/Index/HtmlView.php +++ b/administrator/components/com_finder/src/View/Index/HtmlView.php @@ -168,7 +168,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); // Configure the toolbar. diff --git a/administrator/components/com_finder/src/View/Searches/HtmlView.php b/administrator/components/com_finder/src/View/Searches/HtmlView.php index 4aee1468da44a..27d6c21313f4f 100644 --- a/administrator/components/com_finder/src/View/Searches/HtmlView.php +++ b/administrator/components/com_finder/src/View/Searches/HtmlView.php @@ -134,7 +134,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); // Prepare the view. diff --git a/administrator/components/com_guidedtours/src/View/Step/HtmlView.php b/administrator/components/com_guidedtours/src/View/Step/HtmlView.php index c6801d2182b37..01a1fdff9fc60 100644 --- a/administrator/components/com_guidedtours/src/View/Step/HtmlView.php +++ b/administrator/components/com_guidedtours/src/View/Step/HtmlView.php @@ -79,7 +79,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); $this->addToolbar(); diff --git a/administrator/components/com_guidedtours/src/View/Steps/HtmlView.php b/administrator/components/com_guidedtours/src/View/Steps/HtmlView.php index ce5dde35eace9..e5ded57d049ed 100644 --- a/administrator/components/com_guidedtours/src/View/Steps/HtmlView.php +++ b/administrator/components/com_guidedtours/src/View/Steps/HtmlView.php @@ -110,7 +110,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_guidedtours/src/View/Tour/HtmlView.php b/administrator/components/com_guidedtours/src/View/Tour/HtmlView.php index 6562855bba535..7a03caeba4d76 100644 --- a/administrator/components/com_guidedtours/src/View/Tour/HtmlView.php +++ b/administrator/components/com_guidedtours/src/View/Tour/HtmlView.php @@ -78,7 +78,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); $this->addToolbar(); diff --git a/administrator/components/com_guidedtours/src/View/Tours/HtmlView.php b/administrator/components/com_guidedtours/src/View/Tours/HtmlView.php index 11cb418e214cf..30dea05f42a20 100644 --- a/administrator/components/com_guidedtours/src/View/Tours/HtmlView.php +++ b/administrator/components/com_guidedtours/src/View/Tours/HtmlView.php @@ -105,7 +105,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); parent::display($tpl); diff --git a/administrator/components/com_installer/src/View/Database/HtmlView.php b/administrator/components/com_installer/src/View/Database/HtmlView.php index cc738c40e8624..ed0bf15239475 100644 --- a/administrator/components/com_installer/src/View/Database/HtmlView.php +++ b/administrator/components/com_installer/src/View/Database/HtmlView.php @@ -107,7 +107,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); parent::display($tpl); diff --git a/administrator/components/com_installer/src/View/Discover/HtmlView.php b/administrator/components/com_installer/src/View/Discover/HtmlView.php index d341f48a78573..8d17f7d5af9ae 100644 --- a/administrator/components/com_installer/src/View/Discover/HtmlView.php +++ b/administrator/components/com_installer/src/View/Discover/HtmlView.php @@ -96,7 +96,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); parent::display($tpl); diff --git a/administrator/components/com_installer/src/View/Languages/HtmlView.php b/administrator/components/com_installer/src/View/Languages/HtmlView.php index 74d7476079306..3b8e912752d6b 100644 --- a/administrator/components/com_installer/src/View/Languages/HtmlView.php +++ b/administrator/components/com_installer/src/View/Languages/HtmlView.php @@ -78,7 +78,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0') ->addControlField('return', base64_encode('index.php?option=com_installer&view=languages')) ->addControlField('install_url', '', ['id' => 'install_url']) diff --git a/administrator/components/com_installer/src/View/Manage/HtmlView.php b/administrator/components/com_installer/src/View/Manage/HtmlView.php index 840989762c682..ef69f96be19ce 100644 --- a/administrator/components/com_installer/src/View/Manage/HtmlView.php +++ b/administrator/components/com_installer/src/View/Manage/HtmlView.php @@ -85,7 +85,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); // Display the view. diff --git a/administrator/components/com_installer/src/View/Update/HtmlView.php b/administrator/components/com_installer/src/View/Update/HtmlView.php index 29a7f14c1c19e..48c04fe5d080d 100644 --- a/administrator/components/com_installer/src/View/Update/HtmlView.php +++ b/administrator/components/com_installer/src/View/Update/HtmlView.php @@ -123,7 +123,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); parent::display($tpl); diff --git a/administrator/components/com_installer/src/View/Updatesite/HtmlView.php b/administrator/components/com_installer/src/View/Updatesite/HtmlView.php index 0264b5c08418f..63db0539b3d6f 100644 --- a/administrator/components/com_installer/src/View/Updatesite/HtmlView.php +++ b/administrator/components/com_installer/src/View/Updatesite/HtmlView.php @@ -79,7 +79,7 @@ public function display($tpl = null): void // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); parent::display($tpl); } diff --git a/administrator/components/com_installer/src/View/Updatesites/HtmlView.php b/administrator/components/com_installer/src/View/Updatesites/HtmlView.php index 3138a6dd51ba3..85dfa29304fef 100644 --- a/administrator/components/com_installer/src/View/Updatesites/HtmlView.php +++ b/administrator/components/com_installer/src/View/Updatesites/HtmlView.php @@ -84,7 +84,7 @@ public function display($tpl = null): void // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); // Display the view diff --git a/administrator/components/com_languages/src/View/Installed/HtmlView.php b/administrator/components/com_languages/src/View/Installed/HtmlView.php index f67d66cf18820..3413acbd2f80e 100644 --- a/administrator/components/com_languages/src/View/Installed/HtmlView.php +++ b/administrator/components/com_languages/src/View/Installed/HtmlView.php @@ -97,7 +97,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_languages/src/View/Language/HtmlView.php b/administrator/components/com_languages/src/View/Language/HtmlView.php index 50751de9113f8..09d9fe9c18538 100644 --- a/administrator/components/com_languages/src/View/Language/HtmlView.php +++ b/administrator/components/com_languages/src/View/Language/HtmlView.php @@ -79,7 +79,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); $this->addToolbar(); parent::display($tpl); diff --git a/administrator/components/com_languages/src/View/Languages/HtmlView.php b/administrator/components/com_languages/src/View/Languages/HtmlView.php index e8e7f345752b2..cf3dfecf1b6a1 100644 --- a/administrator/components/com_languages/src/View/Languages/HtmlView.php +++ b/administrator/components/com_languages/src/View/Languages/HtmlView.php @@ -89,7 +89,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_languages/src/View/Override/HtmlView.php b/administrator/components/com_languages/src/View/Override/HtmlView.php index c09cc3a08779c..903d9ab803755 100644 --- a/administrator/components/com_languages/src/View/Override/HtmlView.php +++ b/administrator/components/com_languages/src/View/Override/HtmlView.php @@ -98,7 +98,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', '') + ->addControlField('task') ->addControlField('id', $this->item->key); $this->addToolbar(); diff --git a/administrator/components/com_languages/src/View/Overrides/HtmlView.php b/administrator/components/com_languages/src/View/Overrides/HtmlView.php index 01c4a069d1630..55028328a467f 100644 --- a/administrator/components/com_languages/src/View/Overrides/HtmlView.php +++ b/administrator/components/com_languages/src/View/Overrides/HtmlView.php @@ -96,7 +96,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_mails/src/View/Template/HtmlView.php b/administrator/components/com_mails/src/View/Template/HtmlView.php index e0ba8ac2405d5..accb985c9518e 100644 --- a/administrator/components/com_mails/src/View/Template/HtmlView.php +++ b/administrator/components/com_mails/src/View/Template/HtmlView.php @@ -113,7 +113,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', '') + ->addControlField('task') ->addControlField('return', Factory::getApplication()->getInput()->get('return', '', 'BASE64')); $this->addToolbar(); diff --git a/administrator/components/com_mails/src/View/Templates/HtmlView.php b/administrator/components/com_mails/src/View/Templates/HtmlView.php index 9463559163e0c..17caf61596334 100644 --- a/administrator/components/com_mails/src/View/Templates/HtmlView.php +++ b/administrator/components/com_mails/src/View/Templates/HtmlView.php @@ -121,7 +121,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_menus/src/View/Item/HtmlView.php b/administrator/components/com_menus/src/View/Item/HtmlView.php index 173d95d085125..b76f4c98753c9 100644 --- a/administrator/components/com_menus/src/View/Item/HtmlView.php +++ b/administrator/components/com_menus/src/View/Item/HtmlView.php @@ -131,7 +131,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', '') + ->addControlField('task') ->addControlField('forcedLanguage', $forcedLanguage) ->addControlField('menutype', $input->get('menutype', '')) ->addControlField('fieldtype', '', ['id' => 'fieldtype']); diff --git a/administrator/components/com_menus/src/View/Items/HtmlView.php b/administrator/components/com_menus/src/View/Items/HtmlView.php index a435b37e5d779..b4f6c6e74e99e 100644 --- a/administrator/components/com_menus/src/View/Items/HtmlView.php +++ b/administrator/components/com_menus/src/View/Items/HtmlView.php @@ -280,7 +280,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); // Allow a system plugin to insert dynamic menu types to the list shown in menus: diff --git a/administrator/components/com_menus/src/View/Menu/HtmlView.php b/administrator/components/com_menus/src/View/Menu/HtmlView.php index 9075a8254f5a2..d23c63c941cdb 100644 --- a/administrator/components/com_menus/src/View/Menu/HtmlView.php +++ b/administrator/components/com_menus/src/View/Menu/HtmlView.php @@ -84,7 +84,7 @@ public function display($tpl = null) } // Add form control fields - $this->form->addControlField('task', ''); + $this->form->addControlField('task'); parent::display($tpl); $this->addToolbar(); diff --git a/administrator/components/com_messages/src/View/Config/HtmlView.php b/administrator/components/com_messages/src/View/Config/HtmlView.php index 4038881172b18..e3d2ce6938fd9 100644 --- a/administrator/components/com_messages/src/View/Config/HtmlView.php +++ b/administrator/components/com_messages/src/View/Config/HtmlView.php @@ -72,7 +72,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); $this->addToolbar(); diff --git a/administrator/components/com_messages/src/View/Message/HtmlView.php b/administrator/components/com_messages/src/View/Message/HtmlView.php index f24cc1691c612..305c255dbc1e9 100644 --- a/administrator/components/com_messages/src/View/Message/HtmlView.php +++ b/administrator/components/com_messages/src/View/Message/HtmlView.php @@ -78,7 +78,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); parent::display($tpl); $this->addToolbar(); diff --git a/administrator/components/com_messages/src/View/Messages/HtmlView.php b/administrator/components/com_messages/src/View/Messages/HtmlView.php index 60d8fa21fbec5..ed2d8d9b8e307 100644 --- a/administrator/components/com_messages/src/View/Messages/HtmlView.php +++ b/administrator/components/com_messages/src/View/Messages/HtmlView.php @@ -100,7 +100,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_modules/src/View/Module/HtmlView.php b/administrator/components/com_modules/src/View/Module/HtmlView.php index 4de41713f860c..7ae86e51663d7 100644 --- a/administrator/components/com_modules/src/View/Module/HtmlView.php +++ b/administrator/components/com_modules/src/View/Module/HtmlView.php @@ -102,7 +102,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', '') + ->addControlField('task') ->addControlField('return', Factory::getApplication()->getInput()->getBase64('return', '')); if ($this->getLayout() !== 'modal') { diff --git a/administrator/components/com_newsfeeds/src/View/Newsfeed/HtmlView.php b/administrator/components/com_newsfeeds/src/View/Newsfeed/HtmlView.php index e8fe4d62651a3..a30422fedb812 100644 --- a/administrator/components/com_newsfeeds/src/View/Newsfeed/HtmlView.php +++ b/administrator/components/com_newsfeeds/src/View/Newsfeed/HtmlView.php @@ -109,7 +109,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', '') + ->addControlField('task') ->addControlField('forcedLanguage', $forcedLanguage); if ($this->getLayout() !== 'modal') { diff --git a/administrator/components/com_newsfeeds/src/View/Newsfeeds/HtmlView.php b/administrator/components/com_newsfeeds/src/View/Newsfeeds/HtmlView.php index 6ea49aed017c0..76d42e26fdf14 100644 --- a/administrator/components/com_newsfeeds/src/View/Newsfeeds/HtmlView.php +++ b/administrator/components/com_newsfeeds/src/View/Newsfeeds/HtmlView.php @@ -107,7 +107,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); // We don't need toolbar in the modal layout. diff --git a/administrator/components/com_plugins/src/View/Plugin/HtmlView.php b/administrator/components/com_plugins/src/View/Plugin/HtmlView.php index da021a2a16d82..36685f1e142b3 100644 --- a/administrator/components/com_plugins/src/View/Plugin/HtmlView.php +++ b/administrator/components/com_plugins/src/View/Plugin/HtmlView.php @@ -83,7 +83,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); if ($this->getLayout() !== 'modal') { $this->addToolbar(); diff --git a/administrator/components/com_plugins/src/View/Plugins/HtmlView.php b/administrator/components/com_plugins/src/View/Plugins/HtmlView.php index 854440cf47e85..f47a68cb4db39 100644 --- a/administrator/components/com_plugins/src/View/Plugins/HtmlView.php +++ b/administrator/components/com_plugins/src/View/Plugins/HtmlView.php @@ -85,7 +85,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_privacy/src/View/Consents/HtmlView.php b/administrator/components/com_privacy/src/View/Consents/HtmlView.php index 0c9403f7ef7fe..9b45e340fdeb3 100644 --- a/administrator/components/com_privacy/src/View/Consents/HtmlView.php +++ b/administrator/components/com_privacy/src/View/Consents/HtmlView.php @@ -107,7 +107,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_privacy/src/View/Request/HtmlView.php b/administrator/components/com_privacy/src/View/Request/HtmlView.php index 0a5e4cf82a342..1862bd11ed1b4 100644 --- a/administrator/components/com_privacy/src/View/Request/HtmlView.php +++ b/administrator/components/com_privacy/src/View/Request/HtmlView.php @@ -101,7 +101,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); } $this->addToolbar(); diff --git a/administrator/components/com_privacy/src/View/Requests/HtmlView.php b/administrator/components/com_privacy/src/View/Requests/HtmlView.php index 453b232a6c83e..0ec21d7b7ee19 100644 --- a/administrator/components/com_privacy/src/View/Requests/HtmlView.php +++ b/administrator/components/com_privacy/src/View/Requests/HtmlView.php @@ -119,7 +119,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_redirect/src/View/Link/HtmlView.php b/administrator/components/com_redirect/src/View/Link/HtmlView.php index 4c516b42d78dd..63488d23b0d87 100644 --- a/administrator/components/com_redirect/src/View/Link/HtmlView.php +++ b/administrator/components/com_redirect/src/View/Link/HtmlView.php @@ -76,7 +76,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); $this->addToolbar(); parent::display($tpl); diff --git a/administrator/components/com_redirect/src/View/Links/HtmlView.php b/administrator/components/com_redirect/src/View/Links/HtmlView.php index 1f59f0a287e56..6d2e71c2afb0d 100644 --- a/administrator/components/com_redirect/src/View/Links/HtmlView.php +++ b/administrator/components/com_redirect/src/View/Links/HtmlView.php @@ -141,7 +141,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_scheduler/src/View/Logs/HtmlView.php b/administrator/components/com_scheduler/src/View/Logs/HtmlView.php index d908e0bcdeb66..7fa5dd298068d 100644 --- a/administrator/components/com_scheduler/src/View/Logs/HtmlView.php +++ b/administrator/components/com_scheduler/src/View/Logs/HtmlView.php @@ -95,7 +95,7 @@ public function display($tpl = null): void // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_scheduler/src/View/Task/HtmlView.php b/administrator/components/com_scheduler/src/View/Task/HtmlView.php index efe4bf086d82e..4ace46cf69048 100644 --- a/administrator/components/com_scheduler/src/View/Task/HtmlView.php +++ b/administrator/components/com_scheduler/src/View/Task/HtmlView.php @@ -120,7 +120,7 @@ public function display($tpl = null): void // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); $this->addToolbar(); diff --git a/administrator/components/com_scheduler/src/View/Tasks/HtmlView.php b/administrator/components/com_scheduler/src/View/Tasks/HtmlView.php index 1ee7a98ff1cd2..72e2e88cb1786 100644 --- a/administrator/components/com_scheduler/src/View/Tasks/HtmlView.php +++ b/administrator/components/com_scheduler/src/View/Tasks/HtmlView.php @@ -108,7 +108,7 @@ public function display($tpl = null): void // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_tags/src/View/Tag/HtmlView.php b/administrator/components/com_tags/src/View/Tag/HtmlView.php index e5790328e4999..ed9bf66b428d0 100644 --- a/administrator/components/com_tags/src/View/Tag/HtmlView.php +++ b/administrator/components/com_tags/src/View/Tag/HtmlView.php @@ -95,7 +95,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); $this->addToolbar(); diff --git a/administrator/components/com_tags/src/View/Tags/HtmlView.php b/administrator/components/com_tags/src/View/Tags/HtmlView.php index 5203c2e5e33c6..fd022137589f8 100644 --- a/administrator/components/com_tags/src/View/Tags/HtmlView.php +++ b/administrator/components/com_tags/src/View/Tags/HtmlView.php @@ -115,7 +115,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); // We don't need toolbar in the modal window. diff --git a/administrator/components/com_templates/src/View/Style/HtmlView.php b/administrator/components/com_templates/src/View/Style/HtmlView.php index 47760982d8452..2e5855752351d 100644 --- a/administrator/components/com_templates/src/View/Style/HtmlView.php +++ b/administrator/components/com_templates/src/View/Style/HtmlView.php @@ -90,7 +90,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); $this->addToolbar(); diff --git a/administrator/components/com_templates/src/View/Styles/HtmlView.php b/administrator/components/com_templates/src/View/Styles/HtmlView.php index e6677bdd98c8e..1dcf39b99948d 100644 --- a/administrator/components/com_templates/src/View/Styles/HtmlView.php +++ b/administrator/components/com_templates/src/View/Styles/HtmlView.php @@ -103,7 +103,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_templates/src/View/Templates/HtmlView.php b/administrator/components/com_templates/src/View/Templates/HtmlView.php index 952e60eee19bf..29627d405f842 100644 --- a/administrator/components/com_templates/src/View/Templates/HtmlView.php +++ b/administrator/components/com_templates/src/View/Templates/HtmlView.php @@ -120,7 +120,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_users/src/View/Debuggroup/HtmlView.php b/administrator/components/com_users/src/View/Debuggroup/HtmlView.php index a5a8fa3c16580..7e0ca7e058edc 100644 --- a/administrator/components/com_users/src/View/Debuggroup/HtmlView.php +++ b/administrator/components/com_users/src/View/Debuggroup/HtmlView.php @@ -109,7 +109,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_users/src/View/Debuguser/HtmlView.php b/administrator/components/com_users/src/View/Debuguser/HtmlView.php index a95dee6c62e15..572667a30e257 100644 --- a/administrator/components/com_users/src/View/Debuguser/HtmlView.php +++ b/administrator/components/com_users/src/View/Debuguser/HtmlView.php @@ -109,7 +109,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_users/src/View/Group/HtmlView.php b/administrator/components/com_users/src/View/Group/HtmlView.php index b372e7dce8e16..8f4554368b8d6 100644 --- a/administrator/components/com_users/src/View/Group/HtmlView.php +++ b/administrator/components/com_users/src/View/Group/HtmlView.php @@ -85,7 +85,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); $this->addToolbar(); parent::display($tpl); diff --git a/administrator/components/com_users/src/View/Groups/HtmlView.php b/administrator/components/com_users/src/View/Groups/HtmlView.php index 552f7a1447171..07cbc25beedb8 100644 --- a/administrator/components/com_users/src/View/Groups/HtmlView.php +++ b/administrator/components/com_users/src/View/Groups/HtmlView.php @@ -89,7 +89,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_users/src/View/Level/HtmlView.php b/administrator/components/com_users/src/View/Level/HtmlView.php index 597111ad3c0ea..b0821a7334bad 100644 --- a/administrator/components/com_users/src/View/Level/HtmlView.php +++ b/administrator/components/com_users/src/View/Level/HtmlView.php @@ -76,7 +76,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); $this->addToolbar(); parent::display($tpl); diff --git a/administrator/components/com_users/src/View/Levels/HtmlView.php b/administrator/components/com_users/src/View/Levels/HtmlView.php index 59177ddabc898..ca36fb0755a52 100644 --- a/administrator/components/com_users/src/View/Levels/HtmlView.php +++ b/administrator/components/com_users/src/View/Levels/HtmlView.php @@ -89,7 +89,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_users/src/View/Mail/HtmlView.php b/administrator/components/com_users/src/View/Mail/HtmlView.php index 764cf356b0d21..646e2edd23778 100644 --- a/administrator/components/com_users/src/View/Mail/HtmlView.php +++ b/administrator/components/com_users/src/View/Mail/HtmlView.php @@ -59,7 +59,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); $this->addToolbar(); parent::display($tpl); diff --git a/administrator/components/com_users/src/View/Note/HtmlView.php b/administrator/components/com_users/src/View/Note/HtmlView.php index fca605ef56b33..a777fd425012e 100644 --- a/administrator/components/com_users/src/View/Note/HtmlView.php +++ b/administrator/components/com_users/src/View/Note/HtmlView.php @@ -83,7 +83,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); parent::display($tpl); $this->addToolbar(); diff --git a/administrator/components/com_users/src/View/Notes/HtmlView.php b/administrator/components/com_users/src/View/Notes/HtmlView.php index 5589e8481ad52..4285ea4cf0a53 100644 --- a/administrator/components/com_users/src/View/Notes/HtmlView.php +++ b/administrator/components/com_users/src/View/Notes/HtmlView.php @@ -121,7 +121,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_users/src/View/User/HtmlView.php b/administrator/components/com_users/src/View/User/HtmlView.php index 4db243ef14a65..fb4e51dd001a3 100644 --- a/administrator/components/com_users/src/View/User/HtmlView.php +++ b/administrator/components/com_users/src/View/User/HtmlView.php @@ -138,7 +138,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', '') + ->addControlField('task') ->addControlField('return', Factory::getApplication()->getInput()->getBase64('return', '')); parent::display($tpl); diff --git a/administrator/components/com_users/src/View/Users/HtmlView.php b/administrator/components/com_users/src/View/Users/HtmlView.php index 96fbf42af7bf6..4b504c6d308b2 100644 --- a/administrator/components/com_users/src/View/Users/HtmlView.php +++ b/administrator/components/com_users/src/View/Users/HtmlView.php @@ -99,7 +99,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/administrator/components/com_workflow/src/View/Stages/HtmlView.php b/administrator/components/com_workflow/src/View/Stages/HtmlView.php index affb9274f84fd..da1edabcb3ab0 100644 --- a/administrator/components/com_workflow/src/View/Stages/HtmlView.php +++ b/administrator/components/com_workflow/src/View/Stages/HtmlView.php @@ -152,7 +152,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0') ->addControlField('workflow_id', $this->workflowID) ->addControlField('extension', $this->extension); diff --git a/administrator/components/com_workflow/src/View/Transitions/HtmlView.php b/administrator/components/com_workflow/src/View/Transitions/HtmlView.php index 5777c7624ba5d..1c21f2677fc43 100644 --- a/administrator/components/com_workflow/src/View/Transitions/HtmlView.php +++ b/administrator/components/com_workflow/src/View/Transitions/HtmlView.php @@ -145,7 +145,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0') ->addControlField('workflow_id', $this->workflowID) ->addControlField('extension', $this->extension); diff --git a/administrator/components/com_workflow/src/View/Workflows/HtmlView.php b/administrator/components/com_workflow/src/View/Workflows/HtmlView.php index a79d712460a92..a132d883a8855 100644 --- a/administrator/components/com_workflow/src/View/Workflows/HtmlView.php +++ b/administrator/components/com_workflow/src/View/Workflows/HtmlView.php @@ -125,7 +125,7 @@ public function display($tpl = null) // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); $this->addToolbar(); diff --git a/components/com_config/src/View/Config/HtmlView.php b/components/com_config/src/View/Config/HtmlView.php index c7cd36a48323a..3c225ba4d1457 100644 --- a/components/com_config/src/View/Config/HtmlView.php +++ b/components/com_config/src/View/Config/HtmlView.php @@ -101,7 +101,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', ''); + ->addControlField('task'); $this->_prepareDocument(); diff --git a/components/com_config/src/View/Modules/HtmlView.php b/components/com_config/src/View/Modules/HtmlView.php index 99e62fdeb2062..a23c0d325e9da 100644 --- a/components/com_config/src/View/Modules/HtmlView.php +++ b/components/com_config/src/View/Modules/HtmlView.php @@ -83,7 +83,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', '') + ->addControlField('task') ->addControlField('return', Factory::getApplication()->getInput()->get('return', null, 'base64')) ->addControlField('id', $this->item['id']); } diff --git a/components/com_config/src/View/Templates/HtmlView.php b/components/com_config/src/View/Templates/HtmlView.php index eb3bcf7974cab..495c2c7673306 100644 --- a/components/com_config/src/View/Templates/HtmlView.php +++ b/components/com_config/src/View/Templates/HtmlView.php @@ -119,7 +119,7 @@ public function display($tpl = null) $form->bind($data); // Add form control fields - $form->addControlField('task', ''); + $form->addControlField('task'); } $this->form = $form; diff --git a/components/com_contact/src/View/Form/HtmlView.php b/components/com_contact/src/View/Form/HtmlView.php index bd09bad3ba596..013737b5968d6 100644 --- a/components/com_contact/src/View/Form/HtmlView.php +++ b/components/com_contact/src/View/Form/HtmlView.php @@ -132,7 +132,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', '') + ->addControlField('task') ->addControlField('return', $this->return_page); $this->_prepareDocument(); diff --git a/components/com_content/src/View/Form/HtmlView.php b/components/com_content/src/View/Form/HtmlView.php index 558dcafb42214..ef08938725b87 100644 --- a/components/com_content/src/View/Form/HtmlView.php +++ b/components/com_content/src/View/Form/HtmlView.php @@ -196,7 +196,7 @@ public function display($tpl = null) // Add form control fields $this->form - ->addControlField('task', '') + ->addControlField('task') ->addControlField('return', $this->return_page ?? ''); $this->_prepareDocument(); diff --git a/libraries/src/MVC/View/ListView.php b/libraries/src/MVC/View/ListView.php index 885a14580f672..85440f0647981 100644 --- a/libraries/src/MVC/View/ListView.php +++ b/libraries/src/MVC/View/ListView.php @@ -238,7 +238,7 @@ protected function initializeView() // Add form control fields $this->filterForm - ->addControlField('task', '') + ->addControlField('task') ->addControlField('boxchecked', '0'); }