We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65ca629 commit 5c421bbCopy full SHA for 5c421bb
lib/php-extension/HandleShouldBlockRequest.cpp
@@ -45,15 +45,14 @@ ZEND_FUNCTION(should_block_request) {
45
// even if the IP is bypassed
46
object_init_ex(return_value, blockingStatusClass);
47
48
-
49
if (IsAikidoDisabledOrBypassed()) {
50
return;
51
}
52
53
if (!CheckBlocking(EVENT_GET_BLOCKING_STATUS, AIKIDO_GLOBAL(checkedShouldBlockRequest))) {
54
55
56
+
57
#if PHP_VERSION_ID >= 80000
58
zend_object *obj = Z_OBJ_P(return_value);
59
if (!obj) {
0 commit comments