summaryrefslogtreecommitdiff
path: root/ext/session/mod_user.c
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2015-07-21 12:59:23 +0900
committerYasuo Ohgaki <yohgaki@php.net>2015-07-21 12:59:23 +0900
commitad4533fdbabcc3e545277e30023b2fdce16297a0 (patch)
tree1bcee8ce9f3eb7b5f652e58038eebf47f6456d4b /ext/session/mod_user.c
parent22767a48a7bd060f3397713dfe5f2a5581496097 (diff)
downloadphp-git-ad4533fdbabcc3e545277e30023b2fdce16297a0.tar.gz
Change E_ERROR and some E_WARNING to E_RECOVERABLE_ERROR.
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 1196d867af..34a5a21346 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_ERROR, "No session id returned by function");
+ php_error_docref(NULL, E_RECOVERABLE_ERROR, "No session id returned by function");
return NULL;
}
if (!id) {
- php_error_docref(NULL, E_ERROR, "Session id must be a string");
+ php_error_docref(NULL, E_RECOVERABLE_ERROR, "Session id must be a string");
return NULL;
}