]> git.mxchange.org Git - mailer.git/commitdiff
Fixed missing message after saving new settings
authorRoland Häder <roland@mxchange.org>
Sun, 20 Jun 2010 01:24:24 +0000 (01:24 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 20 Jun 2010 01:24:24 +0000 (01:24 +0000)
inc/modules/admin/what-config_points.php

index 113adcf5b15c81bb4061bae2efeacc59a9de9f9c..23ac08731032b309e8af3c64fdf66601651555f7 100644 (file)
@@ -65,7 +65,7 @@ if (isGetRequestParameterSet('sub')) {
                                }
                        }
                        break;
-       }
+       } // END - switch
 } else {
        // Display overview
        setGetRequestParameter('sub', 'overview');
@@ -75,7 +75,7 @@ if (isFormSent()) {
        initSqls();
        switch (getRequestParameter('sub')) {
                case 'points':
-                       updateConfiguration(array('points_register', 'points_ref'), array(postRequestParameter('points_register'), postRequestParameter('points_ref')));
+                       adminSaveSettingsFromPostData();
                        break;
 
                case 'ref':
@@ -133,7 +133,7 @@ WHERE `mails_confirmed` < %s", $REF, $REF));
                                addSql("UPDATE `{?_MYSQL_PREFIX?}_user_points` SET `locked_points`=0 WHERE `locked_points` > 0");
                        }
                        break;
-       }
+       } // END - if
 
        if ((isSqlsValid()) && (isSqlsValid())) {
                if (strpos($GLOBALS['sqls'][0], 'INSERT') > -1) {