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){