.
This commit is contained in:
parent
0970f6b740
commit
b48406f38a
|
@ -107,7 +107,7 @@ switch($_POST['act']){
|
||||||
AND id='".mysqli_real_escape_string($lnMysql,$_POST['botId'])."'"
|
AND id='".mysqli_real_escape_string($lnMysql,$_POST['botId'])."'"
|
||||||
);
|
);
|
||||||
if(!$r=mysqli_fetch_row($rs)){
|
if(!$r=mysqli_fetch_row($rs)){
|
||||||
$err.= "L'adresse e-mail ne correspond pas à celle enregistrée\n";
|
$err.= "L'adresse e-mail ne correspond pas à celle qui a servi à l'inscription du bot.\n";
|
||||||
}
|
}
|
||||||
//check name
|
//check name
|
||||||
$rs=mysqli_query($lnMysql,
|
$rs=mysqli_query($lnMysql,
|
||||||
|
@ -118,7 +118,7 @@ switch($_POST['act']){
|
||||||
);
|
);
|
||||||
|
|
||||||
if($r=mysqli_fetch_row($rs)){
|
if($r=mysqli_fetch_row($rs)){
|
||||||
$err.="Un bot du même nom existe déjà";
|
$err.="Un bot du même nom existe déjà.";
|
||||||
}
|
}
|
||||||
//BotUrl
|
//BotUrl
|
||||||
if(($_POST['botURL'] <> "") && (!preg_match("/^(http|https):\/\//", $_POST['botURL']))){
|
if(($_POST['botURL'] <> "") && (!preg_match("/^(http|https):\/\//", $_POST['botURL']))){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user