diff --git a/editor/include/adminer.inc.php b/editor/include/adminer.inc.php index e66d0e9f..16bb888a 100644 --- a/editor/include/adminer.inc.php +++ b/editor/include/adminer.inc.php @@ -537,7 +537,7 @@ qsl('div').onclick = whisperClick;", "") function dumpDatabase($db) { } - function dumpTable() { + function dumpTable($table, $style, $is_view = 0) { echo "\xef\xbb\xbf"; // UTF-8 byte order mark } diff --git a/plugins/dump-alter.php b/plugins/dump-alter.php index a4c80f2e..8bfa466d 100644 --- a/plugins/dump-alter.php +++ b/plugins/dump-alter.php @@ -67,7 +67,7 @@ SELECT @adminer_alter; } } - function dumpTable($table, $style, $is_view = false) { + function dumpTable($table, $style, $is_view = 0) { if ($_POST["format"] == "sql_alter") { $create = create_sql($table, $_POST["auto_increment"], $style); if ($is_view) { diff --git a/plugins/dump-json.php b/plugins/dump-json.php index 8d865efb..8c49ad75 100644 --- a/plugins/dump-json.php +++ b/plugins/dump-json.php @@ -14,7 +14,7 @@ class AdminerDumpJson { return array('json' => 'JSON'); } - function dumpTable($table, $style, $is_view = false) { + function dumpTable($table, $style, $is_view = 0) { if ($_POST["format"] == "json") { return true; } diff --git a/plugins/dump-php.php b/plugins/dump-php.php index 7ff22663..1c13fabf 100644 --- a/plugins/dump-php.php +++ b/plugins/dump-php.php @@ -20,7 +20,7 @@ class AdminerDumpPhp { } } - function dumpTable($table) { + function dumpTable($table, $style, $is_view = 0) { if ($_POST['format'] == 'php') { $this->output[$table] = array(); if (!$this->shutdown_callback) { diff --git a/plugins/dump-xml.php b/plugins/dump-xml.php index 037eb445..580e9979 100644 --- a/plugins/dump-xml.php +++ b/plugins/dump-xml.php @@ -14,7 +14,7 @@ class AdminerDumpXml { return array('xml' => 'XML'); } - function dumpTable($table, $style, $is_view = false) { + function dumpTable($table, $style, $is_view = 0) { if ($_POST["format"] == "xml") { return true; }