note 96092 deleted from function.session-decode by danbrown
| From: | danbrown@php.net | Date: | Mon, 08 Feb 2010 17:21:10 +0000 |
| Subject: | note 96092 deleted from function.session-decode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-165756@lists.php.net to get a copy of this message | ||
Note Submitter: kefah dot issa at ojuba dot org
----
A minor modification on the unserializesession function :
in the for loop, 5th line, change :
$vars[$i]
to :
isset($vars[$i])
This modification is needed so php (mine is 5.3.1) does not generate this Notice :
"PHP Notice: Undefined offset: ..."