]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_network_params.php
Naming convention applied to language strings, new API function added:
[mailer.git] / inc / modules / admin / what-list_network_params.php
index 9dc97bcde826516409a460394b95afc867d168bb..d607a8e225846f5674d5e289d9d7e99c38846ac0 100644 (file)
@@ -67,6 +67,7 @@ if ($GLOBALS['network_display'] === false) {
 if (isGetRequestParameterSet('network')) {
        // Get its data for template
        $networkData = getNetworkDataById(getRequestParameter('network'));
+       $networkData['network_type_id'] = 0;
 
        // Init disabled list
        $GLOBALS['network_params_disabled'] = array();
@@ -77,6 +78,9 @@ if (isGetRequestParameterSet('network')) {
                // Only show from current type handler
                $ADD = sprintf(" AND p.`network_type_id`=%s", bigintval(postRequestParameter('network_type_id')));
 
+               // Overwrite type id
+               $networkData['network_type_id'] = bigintval(postRequestParameter('network_type_id'));
+
                // Display message
                loadTemplate('admin_settings_saved', false, '{--ADMIN_NETWORK_REQUEST_PARAMETER_LIST_LIMITED_TO_TYPE--}');
        } // END - if