iliaa Wed Sep 25 09:26:03 2002 EDT Modified files: /php4/ext/session session.c Log: Fixed bugs #18167 & #16859 Index: php4/ext/session/session.c diff -u php4/ext/session/session.c:1.315 php4/ext/session/session.c:1.316 --- php4/ext/session/session.c:1.315 Mon Sep 23 10:04:50 2002 +++ php4/ext/session/session.c Wed Sep 25 09:26:03 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: session.c,v 1.315 2002/09/23 14:04:50 sas Exp $ */ +/* $Id: session.c,v 1.316 2002/09/25 13:26:03 iliaa Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -266,7 +266,7 @@ } else { zend_set_hash_symbol(state_val, name, namelen, 1, 2, Z_ARRVAL_P(PS(http_session_vars)), &EG(symbol_table)); } - } else { + } else if (PS(http_session_vars)) { zend_set_hash_symbol(state_val, name, namelen, 0, 1, Z_ARRVAL_P(PS(http_session_vars))); } }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php