diff options
author | Antony Dovgal <tony2001@php.net> | 2004-09-30 14:20:02 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2004-09-30 14:20:02 +0000 |
commit | 0ea23249da638440da15ecf7274efed12be3e3e3 (patch) | |
tree | 18ee3a78b234abc1e10559759a692bb971ad299d /ext | |
parent | fcd702efe4a813759ae46d7d0db95dd034444184 (diff) | |
download | php-git-0ea23249da638440da15ecf7274efed12be3e3e3.tar.gz |
fix error message
Diffstat (limited to 'ext')
-rw-r--r-- | ext/session/session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index f9a6c611b2..c003409e68 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -544,7 +544,7 @@ static char *php_session_encode(int *newlen TSRMLS_DC) IF_SESSION_VARS() { if (!PS(serializer)) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown session.save_handler. Failed to encode session object."); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown session.serialize_handler. Failed to encode session object."); ret = NULL; } else if (PS(serializer)->encode(&ret, newlen TSRMLS_CC) == FAILURE) @@ -559,7 +559,7 @@ static char *php_session_encode(int *newlen TSRMLS_DC) static void php_session_decode(const char *val, int vallen TSRMLS_DC) { if (!PS(serializer)) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown session.save_handler. Failed to decode session object."); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown session.serialize_handler. Failed to decode session object."); return; } if (PS(serializer)->decode(val, vallen TSRMLS_CC) == FAILURE) { |