FIX do not convert llx_const if mysql encrypt/decrypt is used
This commit is contained in:
parent
984a8e3720
commit
e9d9954380
@ -1087,6 +1087,9 @@ if ($ok && GETPOST('force_utf8_on_tables','alpha'))
|
|||||||
|
|
||||||
foreach($listoftables as $table)
|
foreach($listoftables as $table)
|
||||||
{
|
{
|
||||||
|
// do not convert llx_const if mysql encrypt/decrypt is used
|
||||||
|
if ($conf->db->dolibarr_main_db_encryption != 0 && preg_match('/\_const$/', $table)) continue;
|
||||||
|
|
||||||
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';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user