iliaa Sun Sep 29 11:26:51 2002 EDT
Modified files:
/php4/ext/session session.c
Log:
Fixed bugs #16995 and #19392
Index: php4/ext/session/session.c
diff -u php4/ext/session/session.c:1.318 php4/ext/session/session.c:1.319
--- php4/ext/session/session.c:1.318 Thu Sep 26 14:12:27 2002
+++ php4/ext/session/session.c Sun Sep 29 11:26:50 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: session.c,v 1.318 2002/09/26 18:12:27 iliaa Exp $ */
+/* $Id: session.c,v 1.319 2002/09/29 15:26:50 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -567,6 +567,10 @@
HashPosition pos;
if (!PG(register_globals) && !PS(http_session_vars)) {
+ return;
+ }
+
+ if (PS(http_session_vars) && PS(http_session_vars)->type!=IS_ARRAY) {
return;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php