Fix message

This commit is contained in:
Laurent Destailleur 2018-01-12 15:06:50 +01:00
parent 28207ad4cb
commit 7da9911db1

View File

@ -1036,11 +1036,11 @@ if ($ok && GETPOST('force_utf8_on_tables','alpha'))
print '<tr><td colspan="2">'; print '<tr><td colspan="2">';
print $table; print $table;
$sql='ALTER TABLE '.$table.' CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci'; $sql='ALTER TABLE '.$table.' CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci';
print $sql; print '<!-- '.$sql.' -->';
if (GETPOST('force_utf8_on_tables','alpha') == 'confirmed') if (GETPOST('force_utf8_on_tables','alpha') == 'confirmed')
{ {
$resql = $db->query($sql); $resql = $db->query($sql);
print ' - Done ('.$resql.')'; print ' - Done ('.($resql?'OK':'KO').')';
} }
else print ' - Disabled'; else print ' - Disabled';
print '</td></tr>'; print '</td></tr>';