';
// If we have found wrong integers inform about them
if (count($wrong_fields)) {
$r.= ' ' . $this->str['yeswrongintsfound'] . ' ';
$r.= ' ';
foreach ($wrong_fields as $obj) {
$xmldb_table = $obj->table;
$xmldb_field = $obj->field;
$sqlarr = $dbman->generator->getAlterFieldSQL($xmldb_table, $xmldb_field);
$r.= ' - ' . $this->str['table'] . ': ' . $xmldb_table->getName() . '. ' .
$this->str['field'] . ': ' . $xmldb_field->getName() . '
';
// Add to output if we have sentences
if ($sqlarr) {
$sqlarr = $dbman->generator->getEndedStatements($sqlarr);
$s.= '' . str_replace("\n", ' ', implode(' ', $sqlarr)). ' ';
}
}
$r.= ' ';
// Add the SQL statements (all together)
$r.= ' ' . $s;
} else {
$r.= ' ' . $this->str['nowrongintsfound'] . ' ';
}
$r.= ' |