From de3027eb6034770712809583ef1ddca343b1dda7 Mon Sep 17 00:00:00 2001 From: Xenomporio <> Date: Wed, 18 May 2022 12:21:03 +0200 Subject: [PATCH] (revisited) Changed SQL statement extraction from struktur.sql to recognize ; correctly now with \r\n --- www/setup/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/setup/setup.php b/www/setup/setup.php index be15305e..1810314a 100644 --- a/www/setup/setup.php +++ b/www/setup/setup.php @@ -138,7 +138,7 @@ mysqli_query($db,"SET SESSION SQL_MODE :=''"); //mysqli_real_escape_string($db,$import); - $import = explode (";\n", $import); + $import = explode (";\r\n", $import); foreach ($import as $imp){ if ($imp != '' && $imp != ' ' && trim($imp) != ''){