if (isset($_POST['ok']))
{
// Save settings
- ADMIN_SAVE_SETTINGS($_POST, "_config", "config='0'");
+ ADMIN_SAVE_SETTINGS($_POST);
}
else
{
// Prepare constants for the template
- define('__MAX_VALUE', $CONFIG['top10_max']);
+ define('__MAX_VALUE', $_CONFIG['top10_max']);
// Load form template
LOAD_TEMPLATE("admin_config_top10");