Code rewritings, load base config improved and many minor fixes...
[mailer.git] / 0.2.1 / show_bonus.php
index 8e1ed5f24dc798e9ceb2ae62642319049bfc3370..ebf4acd774e3dd32a244a7bb1ffaeee25a036d88 100644 (file)
@@ -37,8 +37,8 @@ require_once("inc/libs/security_functions.php");
 // 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 this because we have no module in URI\r
 $GLOBALS['module'] = "show_bonus"; $CSS = 0;\r