This commit is contained in:
Daniel Muñoz Garcia
2021-05-02 17:57:23 +02:00
committed by GitHub
parent d0556cdafe
commit 015b2ffcf8
2 changed files with 2 additions and 8 deletions

View File

@ -142,7 +142,7 @@
}
function confirmAdd() {
$cine = new FormCinema();
$cine->processesForm($_POST['id'], $_POST['name'], $_POST['direction'], $_POST['phone'],"new");
$cine->processesForm(null, $_POST['name'], $_POST['direction'], $_POST['phone'],"new");
$_SESSION['message'] = $cine->getReply();
header('Location: ../panel_admin/index.php?state=mc');
}