diff options
author | Michal Čihař <mcihar@suse.cz> | 2012-05-09 13:54:39 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2012-05-09 13:58:10 +0400 |
commit | 54dc10a0127e02b744b1d823ce7f2e15244223a3 (patch) | |
tree | aa97ee665ac8f9851626912be254087e728bfcac /export.php | |
parent | 5961c53cb272bf3c56c326e416ab67d70f8c5218 (diff) |
Use PMA_fatalError instead of die
Diffstat (limited to 'export.php')
-rw-r--r-- | export.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/export.php b/export.php index f69402d305..37efc02c62 100644 --- a/export.php +++ b/export.php @@ -36,7 +36,7 @@ $type = $what; // Check export type if (! isset($export_list[$type])) { - die(__('Bad type!')); + PMA_fatalError(__('Bad type!')); } /** @@ -113,7 +113,7 @@ if ($export_type == 'server') { } elseif ($export_type == 'table' && strlen($db) && strlen($table)) { $err_url = 'tbl_export.php?' . PMA_generate_common_url($db, $table); } else { - die(__('Bad parameters!')); + PMA_fatalError(__('Bad parameters!')); } // Get the functions specific to the export type |