Update formManager.php

This commit is contained in:
marian1010 2021-05-13 09:28:09 +02:00
parent df430bb6b6
commit 517b374f5c

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