Code rewritings, load base config improved and many minor fixes...
[mailer.git] / 0.2.1 / agb.php
index e24d6be40f7b8933f3a95821715d3f4f431d8f02..a165e96419d19b48a78dc0fab31cd3bd633fde60 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 module\r
 $GLOBALS['module'] = "agb"; $CSS = -1;\r