// Init "action" and "what"\r
global $what, $action;\r
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
\r
// Set module\r
$GLOBALS['module'] = "beg";\r
\r
// Set mode depending on how many mails the member has to confirm\r
$locked = false;\r
- if (($ref_payout > 0) && ($CONFIG['direct_pay'] == "N")) $locked = true;\r
+ if (($ref_payout > 0) && ($CONFIG['allow_direct_pay'] == "N")) $locked = true;\r
\r
// Is begging rallye active?\r
if ($CONFIG['beg_rallye'] == "Y")\r