Update formManager.php
This commit is contained in:
parent
df430bb6b6
commit
517b374f5c
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user