Project

General

Profile

Bug #22335 ยป 13935_01.diff

Administrator Admin, 2010-03-28 17:46

View differences:

t3lib/class.t3lib_fullsearch.php (working copy)
$res = @$GLOBALS['TYPO3_DB']->sql_query($qCount);
if (!$GLOBALS['TYPO3_DB']->sql_error()) {
$GLOBALS['TYPO3_DB']->sql_free_result($res);
$dA = array();
$dA['t2_data'] = serialize(array(
'qC'=>$saveArr,
......
$output.= $GLOBALS['SOBE']->doc->section('SQL error',$out,0,1);
} else {
$cPR = $this->getQueryResultCode($mQ,$res,$qGen->table);
$GLOBALS['TYPO3_DB']->sql_free_result($res);
$output.=$GLOBALS['SOBE']->doc->section($cPR['header'],$cPR['content'],0,1);
}
}
......
$rowArr[]=$this->resultRowDisplay($row,$conf,$table);
$lrow=$row;
}
$GLOBALS['TYPO3_DB']->sql_free_result($res);
$out.='<table border="0" cellpadding="2" cellspacing="1">'.$this->resultRowTitles($lrow,$conf,$table).implode(chr(10),$rowArr).'</table>';
}
$out.='<HR>';
......
$theList .= $this->getTreeList($row['uid'], $depth-1, $begin-1, $perms_clause);
}
}
$GLOBALS['TYPO3_DB']->sql_free_result($res);
}
return $theList;
}
......
}
}
}
$GLOBALS['TYPO3_DB']->sql_free_result($res);
}
}
} else {
......
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
$this->tableArray[$from_table][] = $row;
}
$GLOBALS['TYPO3_DB']->sql_free_result($res);
}
reset($this->tableArray[$from_table]);
foreach ($this->tableArray[$from_table] as $key => $val) {
    (1-1/1)