added check for create => header

Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
tracer 2022-02-21 15:34:08 +01:00
parent 7dda80dcfd
commit b7e421d731
1 changed files with 3 additions and 1 deletions

View File

@ -429,7 +429,9 @@ class BindAPI
exit(1);
}
print_r(value: $create);
die("make error handling");
if ($create['header'] != 200) {
die("make error handling");
}
}
break;
default: