Correction pour register_global=off

This commit is contained in:
Rodolphe Quiedeville 2004-07-14 10:15:21 +00:00
parent c87a281f2c
commit 8ede2eca23

View File

@ -64,7 +64,7 @@ if ($_GET["action"] == 'delete')
} }
if ($action == 'update') if ($_POST["action"] == 'update')
{ {
$contact = new Contact($db); $contact = new Contact($db);
@ -94,7 +94,7 @@ if ($action == 'update')
$error = $contact->error; $error = $contact->error;
} }
if ($action == 'create_user') if ($_GET["action"] == 'create_user')
{ {
$nuser = new User($db); $nuser = new User($db);
$contact = new Contact($db); $contact = new Contact($db);