We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfaa270 commit 2ca5d66Copy full SHA for 2ca5d66
ext/session/mod_user_class.c
@@ -22,9 +22,9 @@
22
php_error_docref(NULL, E_WARNING, "Session is not active"); \
23
RETURN_FALSE; \
24
} \
25
- if (PS(default_mod) == NULL) { \
26
- php_error_docref(NULL, E_CORE_ERROR, "Cannot call default session handler"); \
27
- RETURN_FALSE; \
+ if (PS(default_mod) == NULL) { \
+ zend_throw_error(NULL, "Cannot call default session handler"); \
+ RETURN_THROWS(); \
28
}
29
30
#define PS_SANITY_CHECK_IS_OPEN \
0 commit comments