Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2012-05-09 13:54:39 +0400
committerMichal Čihař <mcihar@suse.cz>2012-05-09 13:58:10 +0400
commit54dc10a0127e02b744b1d823ce7f2e15244223a3 (patch)
treeaa97ee665ac8f9851626912be254087e728bfcac /export.php
parent5961c53cb272bf3c56c326e416ab67d70f8c5218 (diff)
Use PMA_fatalError instead of die
Diffstat (limited to 'export.php')
-rw-r--r--export.php4
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