diff --git a/web/send.php b/web/send.php index b68f923..02f6bc0 100644 --- a/web/send.php +++ b/web/send.php @@ -11,10 +11,7 @@ http://github.com/Mestima */ - if (isset($_POST["content"]) != true || isset($_POST["webhook"]) != true || - $_POST["content"] == "" || $_POST["webhook"] == "") { - exit(); - } + if (!isset($_POST["content"]) || !isset($_POST["webhook"])) exit(); $options = array( 'http' => array(