From 4f9cd0b581140eea668b5b64b72a8c59ba1a74d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20M=C3=A9ndez?= <45081533+FerMdez@users.noreply.github.com> Date: Tue, 8 Jun 2021 13:26:48 +0200 Subject: [PATCH] Add files via upload --- panel_manager/includes/formHall.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/panel_manager/includes/formHall.php b/panel_manager/includes/formHall.php index 293434f..b27a01e 100644 --- a/panel_manager/includes/formHall.php +++ b/panel_manager/includes/formHall.php @@ -186,21 +186,21 @@ class FormHall extends Form { else if (count($result) === 0 && isset($datos["sumbit"]) ) { if($this->option == "new_hall"){ $_SESSION['msg'] = Hall::create_hall($number, $this->cinema, $rows, $cols, $seats, $seats_map); - $result = './?state=success'; + //$result = './?state=success'; } else if($this->option == "edit_hall"){ $_SESSION['msg'] = Hall::edit_hall($number,$this->cinema, $rows, $cols, $seats, $seats_map, $this->og_hall->getNumber()); - $result = './?state=success'; + //$result = './?state=success'; } } else if (!isset($result['number']) && isset($datos["delete"]) ) { if($this->option == "edit_hall"){ $_SESSION['msg'] = Hall::delete_hall($number, $this->cinema, $rows, $cols, $seats, $seats_map, $this->og_hall->getNumber()); - $result = './?state=success'; + //$result = './?state=success'; } } else if(isset($datos["restart"])){ - $result = "./?state=".$this->option."&number=".$this->og_hall->getNumber().""; + //$result = "./?state=".$this->option."&number=".$this->og_hall->getNumber().""; }