Correction pour register_global=off
This commit is contained in:
parent
c87a281f2c
commit
8ede2eca23
@ -64,7 +64,7 @@ if ($_GET["action"] == 'delete')
|
||||
}
|
||||
|
||||
|
||||
if ($action == 'update')
|
||||
if ($_POST["action"] == 'update')
|
||||
{
|
||||
$contact = new Contact($db);
|
||||
|
||||
@ -94,7 +94,7 @@ if ($action == 'update')
|
||||
$error = $contact->error;
|
||||
}
|
||||
|
||||
if ($action == 'create_user')
|
||||
if ($_GET["action"] == 'create_user')
|
||||
{
|
||||
$nuser = new User($db);
|
||||
$contact = new Contact($db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user