summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/session/mod_user_class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/mod_user_class.c b/ext/session/mod_user_class.c
index efc39c3fa6..e72f9585c4 100644
--- a/ext/session/mod_user_class.c
+++ b/ext/session/mod_user_class.c
@@ -133,7 +133,7 @@ PHP_METHOD(SessionHandler, gc)
long maxlifetime;
int nrdels;
- PS_SANITY_CHECK;
+ PS_SANITY_CHECK_IS_OPEN;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &maxlifetime) == FAILURE) {
return;