]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_home.php
A lot naming conventions applied, TODOs.txt updated
[mailer.git] / inc / modules / admin / what-config_home.php
index f1bdde572eaeb3480043baf5111f8bd14db33535..c134ccf7b67af00e6726aaa0892b374e24c221cd 100644 (file)
@@ -71,9 +71,9 @@ switch ($sub) {
                break;
 
        case 'target': // Set which what-file will be placed in home-page (only modules.php?module=index)
-               if (isGetRequestParameterSet(('home'))) {
+               if (isGetRequestParameterSet('home')) {
                        // Set new home
-                       updateConfiguration('index_home', getRequestParameter(('home')));
+                       updateConfiguration('index_home', getRequestParameter('home'));
                } // END - if
 
                // Load all what menu points
@@ -91,7 +91,7 @@ ORDER BY `sort` ASC", __FILE__, __LINE__);
                        $newHomeLink = '<a href="{%url=modules.php?module=admin&amp;what=config_home&amp;sub=target&amp;home=' . $content['what'] . '%}">{--_IS_NEW_HOME--}</a>';
 
                        // Is this current home?
-                       if ($content['what'] == getConfig('index_home')) {
+                       if ($content['what'] == getIndexHome()) {
                                // Is current home
                                $newHomeLink      = '<div class="admin_mark">{--_IS_CURRENT_HOME--}</div>';
                                $content['title'] = '<div class="admin_mark">' . $content['title'] . '</div>';