diff options
-rw-r--r-- | ext/session/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index b86336c4e8..396b9cb307 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -104,7 +104,7 @@ static PHP_INI_MH(OnUpdateSaveHandler) } else { err_type = E_ERROR; } - php_error_docref(NULL TSRMLS_CC, E_ERROR, "Cannot find save handler %s", new_value); + php_error_docref(NULL TSRMLS_CC, err_type, "Cannot find save handler %s", new_value); return FAILURE; } PS(mod) = tmp; |