$CSS = 0;
// Load the required file(s)
-require ("inc/config.php");
+require("inc/config.php");
// Is the "doubler" extension active?
if (!EXT_IS_ACTIVE("doubler")) {
array($uid, bigintval($GLOBALS['refid']), bigintval($_POST['points'] * 2)), __FILE__, __LINE__);
// Subtract entered points
- SUB_POINTS($uid, $_POST['points']);
+ SUB_POINTS("doubler", $uid, $_POST['points']);
// Add points to "total payed" including charge
$points = $_POST['points'] - $_POST['points'] * $_CONFIG['doubler_charge'];