Project

General

Profile

Bug #16637 » 4367_feusersession_arraycheck.diff

Administrator Admin, 2008-03-04 12:13

View differences:

typo3/sysext/cms/tslib/class.tslib_feuserauth.php (working copy)
if ($recs['clear_all']) {
$this->setKey('ses','recs','');
}
$change=0;
$change = false;
$recs_array=$this->getKey('ses','recs');
if (!is_array($recs_array)) {
$recs_array = array();
}
reset($recs);
while(list($table,$data)=each($recs)) {
if (is_array($data)) {
......
while(list($rec_id,$value)=each($data)) {
if ($value != $recs_array[$table][$rec_id]) {
$recs_array[$table][$rec_id] = $value;
$change=1;
$change = true;
}
}
}
(2-2/4)