1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00

SQLite: Fix altering forign keys (bug #841)

This commit is contained in:
Jakub Vrana
2025-02-19 15:02:11 +01:00
parent df451f4374
commit a001a3a061
2 changed files with 2 additions and 1 deletions

View File

@@ -523,7 +523,7 @@ if (isset($_GET["sqlite"]) || isset($_GET["sqlite2"])) {
return true;
}
function recreate_table($table, $name, $fields, $originals, $foreign, $auto_increment, $indexes = array()) {
function recreate_table($table, $name, $fields, $originals, $foreign, $auto_increment = 0, $indexes = array()) {
global $connection;
if ($table != "") {
if (!$fields) {