Skip to content

Commit 5711354

Browse files
committed
Do not set scope
1 parent 59ec73a commit 5711354

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/pdo/pdo_stmt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,8 @@ static bool pdo_call_fetch_object_constructor(zend_function *constructor, HashTa
693693
zend_fcall_info_cache fcc = {
694694
.function_handler = constructor,
695695
.object = Z_OBJ_P(return_value),
696-
.called_scope = Z_OBJCE_P(return_value),
697-
.calling_scope = Z_OBJCE_P(return_value),
696+
.called_scope = NULL,
697+
.calling_scope = NULL,
698698
.closure = NULL,
699699
};
700700

0 commit comments

Comments
 (0)