From 517b374f5c3777ee483d8bea219983d652018abd Mon Sep 17 00:00:00 2001 From: marian1010 <79144276+marian1010@users.noreply.github.com> Date: Thu, 13 May 2021 09:28:09 +0200 Subject: [PATCH] Update formManager.php --- panel_admin/includes/formManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel_admin/includes/formManager.php b/panel_admin/includes/formManager.php index ff5fca0..730f4f9 100644 --- a/panel_admin/includes/formManager.php +++ b/panel_admin/includes/formManager.php @@ -90,7 +90,7 @@ class FormManager extends Form { if($bd){ if($this->option == "new"){ //Check if any var is empty - if(!is_null($id)&&!empty($idcinema)){ + if(!is_null($id)&&!is_null($idcinema)){ // check if already exist a manager with same name $exist = $bd->GetManagerCinema($id, $idcinema); if( mysqli_num_rows($exist) != 0){