From b2c9fe30ed615975b27df4bf511b09517913b576 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 20 Jun 2010 01:24:24 +0000 Subject: [PATCH] Fixed missing message after saving new settings --- inc/modules/admin/what-config_points.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) { -- 2.39.5