Some errata fix

This commit is contained in:
fbsanchez 2022-02-01 21:40:09 +01:00
parent 5b06942caf
commit 8f364c3914
1 changed files with 1 additions and 1 deletions

View File

@ -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 "<i><br>$query<br></i>";
return 0;