fooRequestElementBar() functions renamed, adding of request parameters added:
[mailer.git] / inc / modules / admin / what-config_home.php
index 91d31bc0bd5e26d6be7405aacea91b8b8e627300..106ed65c428fa0af472f3144a7f9be2aaee2de8f 100644 (file)
@@ -46,7 +46,7 @@ addMenuDescription('admin', __FILE__);
 
 // Init 'sub' value
 $sub = '';
-if (isGetRequestElementSet('sub')) $sub = getRequestElement('sub');
+if (isGetRequestParameterSet('sub')) $sub = getRequestParameter('sub');
 
 switch ($sub) {
        case 'settings': // Settings related to the index page
@@ -70,9 +70,9 @@ switch ($sub) {
                break;
 
        case 'target': // Set which what-file will be placed in home-page (only modules.php?module=index)
-               if (isGetRequestElementSet(('home'))) {
+               if (isGetRequestParameterSet(('home'))) {
                        // Set new home
-                       updateConfiguration('index_home', getRequestElement(('home')));
+                       updateConfiguration('index_home', getRequestParameter(('home')));
                } // END - if
 
                // Load all what menu points