mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
fix empty_string issue
Patch submitted by Antony Dovgal <tony2001@phpclub.net>
This commit is contained in:
parent
26cb5355e0
commit
5890197024
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user