$status = null;
// 20070302 - {$this->dbName}.mantis_bug_table -> mantis_bug_table
// Problems with MS-SQL
$query = "SELECT summary FROM mantis_bug_table WHERE id='" . $id."'";
$result = $this->dbConnection->exec_query($query);
if ($result)
{
$summary = $this->dbConnection->fetch_array($result);
// 20070302 - BUGID - on MS-SQL fetch_array() does not returns numeric indexes, then
// only choice is accessing my field name (IMHO better)
if ($summary) //注释此行
$summary = $summary['summary']; //注释此行
else //注释此行
$summary = null;
}
return $summary;
}