diff --git a/app/DiscordWebHookHandler.php b/app/DiscordWebHookHandler.php index efec36cb..d6a5a436 100644 --- a/app/DiscordWebHookHandler.php +++ b/app/DiscordWebHookHandler.php @@ -4,7 +4,7 @@ use Atakde\DiscordWebhook\DiscordWebhook; use Atakde\DiscordWebhook\Message\MessageFactory; -class DiscordWebhookHandler +class DiscordWebHookHandler { public static function NewAccount($appURL, $username, $avatar, $first_name, $last_name, $email, $ip) { diff --git a/crons/server.php b/crons/server.php index bdb262ef..2d5bfe06 100644 --- a/crons/server.php +++ b/crons/server.php @@ -1,5 +1,4 @@ $server['name'], diff --git a/view/auth/login.php b/view/auth/login.php index d069c387..25e69848 100644 --- a/view/auth/login.php +++ b/view/auth/login.php @@ -1,6 +1,5 @@ getIP()); $conn->query("UPDATE `mythicaldash_users` SET `last_ip` = '" . $session->getIP() . "' WHERE `mythicaldash_users`.`api_key` = '" . $usr_id . "';"); if (isset($_GET['r'])) { header('location: ' . $_GET['r']); diff --git a/view/auth/register.php b/view/auth/register.php index 8837a7c6..2ab44ea3 100644 --- a/view/auth/register.php +++ b/view/auth/register.php @@ -1,6 +1,5 @@ getIP()); header('location: /auth/login'); die(); } else { diff --git a/view/tickets/new.php b/view/tickets/new.php index 57b5061f..216d11c3 100644 --- a/view/tickets/new.php +++ b/view/tickets/new.php @@ -1,5 +1,4 @@ query("INSERT INTO `mythicaldash_tickets` (`ownerkey`, `ticketuuid`, `subject`, `priority`, `description`, `attachment`) VALUES ('" . $api_key . "', '" . Encryption::generate_keynoinfo() . "', '" . $subject . "', '" . $priority . "', '" . $description . "', '" . $attachment . "');"); $conn->close(); header('location: /help-center/tickets');