summaryrefslogtreecommitdiff
path: root/ext/session/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/session/session.c')
-rw-r--r--ext/session/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/session.c b/ext/session/session.c
index d74d787029..495dfa07fc 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -1714,7 +1714,7 @@ PHP_MINIT_FUNCTION(session)
ps_globals = ts_resource(ps_globals_id);
#endif
- zend_register_auto_global("_SESSION", sizeof("_SESSION")-1 TSRMLS_CC);
+ zend_register_auto_global("_SESSION", sizeof("_SESSION")-1, NULL TSRMLS_CC);
PS(module_number) = module_number; /* if we really need this var we need to init it in zts mode as well! */