summaryrefslogtreecommitdiff
path: root/ext/session/mod_user.c
diff options
context:
space:
mode:
authorc9s <yoan@maicoin.com>2019-03-10 15:16:04 +0800
committerNikita Popov <nikita.ppv@gmail.com>2019-03-11 10:00:39 +0100
commit9f6f6fe2199857ffc8eaab3f413c0fd18cca26f0 (patch)
treebae0dfb17cf3ce342e6e6c0f5f741cbfe4874334 /ext/session/mod_user.c
parentd9d253fa6bf8e89a48a3e4ce6a669c705564e254 (diff)
downloadphp-git-9f6f6fe2199857ffc8eaab3f413c0fd18cca26f0.tar.gz
Remove function_table var from the caller
function_table var is not used in call_user_function macro anymore hence replace the usage with NULL
Diffstat (limited to 'ext/session/mod_user.c')
-rw-r--r--ext/session/mod_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/mod_user.c b/ext/session/mod_user.c
index c899fe2901..1f03c86114 100644
--- a/ext/session/mod_user.c
+++ b/ext/session/mod_user.c
@@ -35,7 +35,7 @@ static void ps_call_handler(zval *func, int argc, zval *argv, zval *retval)
return;
}
PS(in_save_handler) = 1;
- if (call_user_function(EG(function_table), NULL, func, retval, argc, argv) == FAILURE) {
+ if (call_user_function(NULL, NULL, func, retval, argc, argv) == FAILURE) {
zval_ptr_dtor(retval);
ZVAL_UNDEF(retval);
} else if (Z_ISUNDEF_P(retval)) {