diff --git a/unsubscribe.php b/unsubscribe.php index 47fae9a2c..e59b206ea 100644 --- a/unsubscribe.php +++ b/unsubscribe.php @@ -8,7 +8,7 @@ if (!defined('e107_INIT')) define('e_IFRAME', true); require_once(HEADERF); -class unsubscribe +class e_unsubscribe { function __construct() @@ -23,6 +23,7 @@ class unsubscribe if(empty($_GET['id'])) { + $this->invalidURL(); return; } @@ -135,7 +136,7 @@ class unsubscribe } -new unsubscribe; +new e_unsubscribe; @@ -145,4 +146,3 @@ require_once(FOOTERF); exit; -?> \ No newline at end of file