summaryrefslogtreecommitdiff
path: root/ext/session/mod_user.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-07-21 11:18:36 +0200
committerAnatol Belski <ab@php.net>2015-07-21 11:18:36 +0200
commit6065b29fe41f09e01dd06ba21980e0344f13230c (patch)
treeb933608962b74dddead7442798a560b125cef4bc /ext/session/mod_user.c
parent1767992e4e5f9d7c82571009b8b7f21f5f6ccd64 (diff)
downloadphp-git-6065b29fe41f09e01dd06ba21980e0344f13230c.tar.gz
Reverted ad4533fdbabcc3e545277e30023b2fdce16297a0
The E_ERROR to E_RECOVERABLE_ERROR should be readded with the proper tests.
Diffstat (limited to 'ext/session/mod_user.c')
-rw-r--r--ext/session/mod_user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/session/mod_user.c b/ext/session/mod_user.c
index 34a5a21346..1196d867af 100644
--- a/ext/session/mod_user.c
+++ b/ext/session/mod_user.c
@@ -191,12 +191,12 @@ PS_CREATE_SID_FUNC(user)
}
zval_ptr_dtor(&retval);
} else {
- php_error_docref(NULL, E_RECOVERABLE_ERROR, "No session id returned by function");
+ php_error_docref(NULL, E_ERROR, "No session id returned by function");
return NULL;
}
if (!id) {
- php_error_docref(NULL, E_RECOVERABLE_ERROR, "Session id must be a string");
+ php_error_docref(NULL, E_ERROR, "Session id must be a string");
return NULL;
}