Commit 81bc5247 authored by BenC's avatar BenC

bleh

parent 6cc74cc3
......@@ -135,6 +135,11 @@ elseif ( $_REQUEST["action"] == "saveinfos" && $can_edit )
$ErreurMAJ = "Alias déjà  utilisé";
$_REQUEST["page"] = "edit";
}
elseif ( $_REQUEST['jabber'] && !CheckEmail($_REQUEST['jabber'], 3) )
{
$ErreurMail="Adresse jabber invalide.";
$_REQUEST["page"] = "edit";
}
else
{
$user->nom = $_REQUEST['nom'];
......@@ -172,15 +177,7 @@ elseif ( $_REQUEST["action"] == "saveinfos" && $can_edit )
$user->afps = isset($_REQUEST['afps']);
$user->sst = isset($_REQUEST['sst']);
if ( !CheckEmail($_REQUEST['jabber'], 3) )
{
$ErreurMail="Adresse jabber invalide.";
$_REQUEST["page"] = "edit";
}
else
{
$user->jabber = $_REQUEST['jabber'];
}
$user->jabber = isset($_REQUEST['jabber']);
$req = new requete($site->db,"SELECT mmt_instru_musique.id_instru_musique, ".
"utl_joue_instru.id_utilisateur ".
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment