From 025f255f7cd9bd7c20b49ae1c400cded0cb10859 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Wed, 30 Dec 2015 16:27:56 +0100 Subject: [PATCH] =?UTF-8?q?gn=C3=A9=C3=A9=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/act.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/act.php b/src/act.php index b288d9a..f4217e3 100644 --- a/src/act.php +++ b/src/act.php @@ -121,9 +121,7 @@ switch($_POST['act']){ $alerts.="L'URL n'est pas valide.\n"; } if($err == ""){ - echo "plop".$err."plop"; die; - }else{ - + //save bot on temp table $secret=rand_str(8, 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890'); mysqli_query($lnMysql, @@ -169,6 +167,8 @@ switch($_POST['act']){ + }else{ + echo "plop".$err."plop"; die; }