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,8 +429,10 @@ class BindAPI
exit(1); exit(1);
} }
print_r(value: $create); print_r(value: $create);
if ($create['header'] != 200) {
die("make error handling"); die("make error handling");
} }
}
break; break;
default: default:
echo 'Server error' . PHP_EOL; echo 'Server error' . PHP_EOL;