From: Roland Häder Date: Sun, 20 Jun 2010 01:24:24 +0000 (+0000) Subject: Fixed missing message after saving new settings X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b2c9fe30ed615975b27df4bf511b09517913b576;p=mailer.git Fixed missing message after saving new settings --- diff --git a/inc/modules/admin/what-config_points.php b/inc/modules/admin/what-config_points.php index 113adcf5b1..23ac087310 100644 --- a/inc/modules/admin/what-config_points.php +++ b/inc/modules/admin/what-config_points.php @@ -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) {