From 8f364c391407b15c5847f430a05bc16b593fe354 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Tue, 1 Feb 2022 21:40:09 +0100 Subject: [PATCH] Some errata fix --- pandora_console/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/install.php b/pandora_console/install.php index a52d65cf5a..489e3f32c9 100644 --- a/pandora_console/install.php +++ b/pandora_console/install.php @@ -328,7 +328,7 @@ function parse_mysqli_dump($connection, $url) $query .= $sql_line; if (preg_match("/;[\040]*\$/", $sql_line)) { if (!$result = mysqli_query($connection, $query)) { - echo mysqli_error(); + echo mysqli_error($connection); // Uncomment for debug echo "
$query
"; return 0;