Permalink
Browse files

Export data settings only with data

  • Loading branch information...
1 parent f0d97a7 commit f9cbf50bd78107de9abe14d1bd391219f3d6d705 @vrana committed Aug 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 adminer/dump.inc.php
View
4 adminer/dump.inc.php
@@ -13,10 +13,10 @@
echo "-- Adminer $VERSION " . $drivers[DRIVER] . " dump
" . ($jush != "sql" ? "" : "SET NAMES utf8;
-SET foreign_key_checks = 0;
+" . ($_POST["data_style"] ? "SET foreign_key_checks = 0;
SET time_zone = " . q($connection->result("SELECT @@time_zone")) . ";
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
-
+" : "") . "
");
}

0 comments on commit f9cbf50

Please sign in to comment.