Forms restructuring

This commit is contained in:
Daniel Muñoz Garcia
2021-05-13 10:00:47 +02:00
committed by GitHub
parent 4c7c93d691
commit 657d1cc0fe
6 changed files with 402 additions and 53 deletions

View File

@ -90,7 +90,7 @@ class FormManager extends Form {
if($bd){
if($this->option == "new"){
//Check if any var is empty
if(!is_null($id)&&!is_null($idcinema)){
if(!is_null($id)&&!empty($idcinema)){
// check if already exist a manager with same name
$exist = $bd->GetManagerCinema($id, $idcinema);
if( mysqli_num_rows($exist) != 0){