From 6b318ed30494dcb2a500fca59b5ff7e88a75dc84 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 29 Sep 2016 06:31:42 +0000 Subject: [PATCH] We should only use utf8mb4 for dumpsql and new installations --- include/dbstructure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dbstructure.php b/include/dbstructure.php index 411def5d0d..89c439f8a4 100644 --- a/include/dbstructure.php +++ b/include/dbstructure.php @@ -262,7 +262,7 @@ function db_create_table($name, $fields, $verbose, $action, $indexes=null) { if (isset($a->config["system"]["db_charset"])) $charset = $a->config["system"]["db_charset"]; - elseif ($verbose) + elseif (!$action) // Used for dumpsql $charset = "utf8mb4"; else $charset = "utf8"; -- 2.39.5