]> granicus.if.org Git - php/commitdiff
fix typo
authorAntony Dovgal <tony2001@php.net>
Wed, 30 Aug 2006 17:57:25 +0000 (17:57 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 30 Aug 2006 17:57:25 +0000 (17:57 +0000)
ext/session/session.c

index b86336c4e8e9f9c151e4339208d5f408d888217a..396b9cb307edbc04e1b7c52d5d8879352d3d3bb0 100644 (file)
@@ -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;