}
}
break;
- }
+ } // END - switch
} else {
// Display overview
setGetRequestParameter('sub', 'overview');
initSqls();
switch (getRequestParameter('sub')) {
case 'points':
- updateConfiguration(array('points_register', 'points_ref'), array(postRequestParameter('points_register'), postRequestParameter('points_ref')));
+ adminSaveSettingsFromPostData();
break;
case '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) {