Some errata fix
This commit is contained in:
parent
5b06942caf
commit
8f364c3914
|
@ -328,7 +328,7 @@ function parse_mysqli_dump($connection, $url)
|
||||||
$query .= $sql_line;
|
$query .= $sql_line;
|
||||||
if (preg_match("/;[\040]*\$/", $sql_line)) {
|
if (preg_match("/;[\040]*\$/", $sql_line)) {
|
||||||
if (!$result = mysqli_query($connection, $query)) {
|
if (!$result = mysqli_query($connection, $query)) {
|
||||||
echo mysqli_error();
|
echo mysqli_error($connection);
|
||||||
// Uncomment for debug
|
// Uncomment for debug
|
||||||
echo "<i><br>$query<br></i>";
|
echo "<i><br>$query<br></i>";
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue