Fixes for 'Can't use function return value in write context in /foo/bar.php'
[mailer.git] / inc / modules / admin / what-config_home.php
index 1cf4abc2e8846e7316f272c87703344b11afd585..d9b8a9addee4e590b9f836ad34121b8a06681d70 100644 (file)
@@ -67,8 +67,7 @@ case "settings": // Settings related to the index page
 case "target": // Set which what-file will be placed in home-page (only modules.php?module=index)
        if (isset($_GET['home'])) {
                // Set new home
-               UPDATE_CONFIG("index_home", $_GET['home']);
-               getConfig('index_home') = SQL_ESCAPE($_GET['home']);
+               UPDATE_CONFIG("index_home", SQL_ESCAPE($_GET['home']));
        } // END - if
 
        // Load all what menu points