fix empty_string issue

Patch submitted by Antony Dovgal <tony2001@phpclub.net>
This commit is contained in:
Sascha Schumann 2004-08-02 08:27:46 +00:00
parent 26cb5355e0
commit 5890197024

View File

@ -1060,7 +1060,7 @@ static void php_session_reset_id(TSRMLS_D)
smart_str_0(&var);
REGISTER_STRINGL_CONSTANT("SID", var.c, var.len, 0);
} else {
REGISTER_STRINGL_CONSTANT("SID", "", 0, 1);
REGISTER_STRINGL_CONSTANT("SID", STR_EMPTY_ALLOC(), 0, 1);
}
if (PS(apply_trans_sid)) {