mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Convert mysqli_fetch_assoc to mysqli_fetch_row in setup for table import
This commit is contained in:
@@ -253,7 +253,7 @@ if (isset($_POST['restore'])) {
|
||||
mysqli_query($mysqli, "SET FOREIGN_KEY_CHECKS = 0");
|
||||
$tables = mysqli_query($mysqli, "SHOW TABLES");
|
||||
if ($tables) {
|
||||
while ($row = mysqli_fetch_assoc($tables)) {
|
||||
while ($row = mysqli_fetch_row($tables)) {
|
||||
mysqli_query($mysqli, "DROP TABLE IF EXISTS `" . $row[0] . "`");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user